Recent

Author Topic: TListBox 1.4.2 Black bars and moved text  (Read 2041 times)

MoonWolf

  • New Member
  • *
  • Posts: 10
TListBox 1.4.2 Black bars and moved text
« on: October 25, 2015, 03:50:24 am »
I am using Window 7 with Lazarus 1.4.2. I have been testing my poker library for Lazarus, to see whether there are any problems using more current versions. I have not had problems using 0.9.26, 1.0.10 or 1.2.2.

Using 1.4.2 the list box control on two of my test programs has been acting weird. When the scroll bar is moved, the display shows black bars after the lines of text. In addition, when the scroll bar is moved back to the top, the blank portions of the lines are overwritten with text from other lines. If you take a look at the attached image, you'll get a better idea of what I mean. It includes two screen shots from the program compiled under 1.4.2 and one from an earlier version without the problem.

I wrote a simple example program to try to isolate the problem, but it functioned perfectly. At the moment I am stumped.

wp

  • Hero Member
  • *****
  • Posts: 13556
Re: TListBox 1.4.2 Black bars and moved text
« Reply #1 on: October 25, 2015, 10:59:10 am »
Please upgrade to 1.4.4, the background painting bug is fixed there (for Win7).

[EDIT]
Or activate themes (Project options / Application / Check "Use manifest file to enable themes").
« Last Edit: October 25, 2015, 01:09:22 pm by wp »

MoonWolf

  • New Member
  • *
  • Posts: 10
Re: TListBox 1.4.2 Black bars and moved text
« Reply #2 on: October 25, 2015, 03:34:13 pm »
Thank you. Downloading now. :)

 

TinyPortal © 2005-2018