[Lazarus] TStaticText loses content at irregular intervals (Win 10)

Bo Berglund bo.berglund at gmail.com
Sun Jan 17 08:45:58 CET 2021


Windows 10 Pro, Lazarus 2.0.10 (64 bit), Fpc 3.2.0 (64 bit)

I have an application where I have a panel on the bottom of the main form.
On this I have a number of controls like buttons etc.
There are a set of TStaticText controls where I show the current value of some
variables that are set from buttons.
The application is a video editor and I snatch the position in the video through
the buttons that save the value of current time in seconds and show these in the
TStaticText containers. While doing this sometimes the values displayed for the
next cut just disappear...

It is the *content* of these TStaticText controls that blank out and the values
disappear...

When this happens I can return the values by simply moving the application form
down so these controls disappear below the screen bottom edge and then pull the
form up again. This repaints the content of the controls.

What could be the reason for this and is there anything I can do to stop it from
happening?


-- 
Bo Berglund
Developer in Sweden



More information about the lazarus mailing list