Solved

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

Posted on 2004-08-25
2
209 Views
Last Modified: 2010-04-05
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
0
Comment
Question by:dimatic
2 Comments
 
LVL 1

Expert Comment

by:Binsky
ID: 11962262
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.
0
 

Accepted Solution

by:
carlp42 earned 125 total points
ID: 12612313
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.
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Sending Gmail through Delphi 3 108
Help on project with Soap 10 54
drawing animated level bar based on numbers 3 97
Adoquery sql  left join does not work 25 91
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

778 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question