• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 220
  • Last Modified:

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

1 Solution
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 :

or maybe call  :

Every once in a while, this may solve your problem.
You can try the TStaticText component too (on the Additional tab).  It's just like TLabel but actually uses the underlying windows control rather than being a VCL made one.  Might help.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now