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
207 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

746 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now