Link to home
Start Free TrialLog in
Avatar of dimatic
dimatic

asked on

When having a Tlabel and a TPanel on a Tscroolbox the label disapears when app. is running in Windows XP look

I have an application with a Scroolbox containing a Label and a Panel.

When this application is running with Windows XP in "Windows XP" theme the label text disapears.

When this application is running with Windows XP in "Windows Classic" theme the label text is showen correctly.

I'm using D7 professional with the latest updates (done today).

Please help

/Flemming
Avatar of Binsky
Binsky

This could be a load of hogwash, but I have had a similarproblem a while back. I was changing the text property of some labels, while in a loop. The labels didn't update, and sometimes disappeared alltogether.

Using :
application.processmessages

or maybe call  :
yourlabel.repaint

Every once in a while, this may solve your problem.
ASKER CERTIFIED SOLUTION
Avatar of carlp42
carlp42

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial