BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

StatusBar->simple text not displaying

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (VCL Components Usage)
View previous topic :: View next topic  
Author Message
Nate Lockwood
Guest





PostPosted: Fri May 20, 2005 11:37 pm    Post subject: StatusBar->simple text not displaying Reply with quote



I have a simple project that tries to write to the status bar on startup and
is called from the forms constructor. When this function is called at other
times it works fine and when I examine the StatusBar->SimpleText using the
debugger I see the text that should be there. The program assigns text to
other components at this time and they display correctly. I'm using C++
Builder 6. It acts as though the status bar initializes after the text is
assigned and substitutes a null string for the assignment.

Any ideas?

Thanks

Nate


Back to top
Patrick Jamieson
Guest





PostPosted: Fri May 20, 2005 11:50 pm    Post subject: Re: StatusBar->simple text not displaying Reply with quote



Nate Lockwood wrote:

Quote:
I have a simple project that tries to write to the status bar on startup and
is called from the forms constructor. When this function is called at other
times it works fine and when I examine the StatusBar->SimpleText using the
debugger I see the text that should be there. The program assigns text to
other components at this time and they display correctly. I'm using C++
Builder 6. It acts as though the status bar initializes after the text is
assigned and substitutes a null string for the assignment.

Any ideas?

Thanks

Nate


Is SimplePanel set to true in the Object Inspector?



Patrick J.

Back to top
Don Locke
Guest





PostPosted: Fri May 20, 2005 11:52 pm    Post subject: Re: StatusBar->simple text not displaying Reply with quote



Try
StatusBar->SimpleText = "Test";
StatusBar->Refresh();
Don

Back to top
Nate Lockwood
Guest





PostPosted: Sat May 21, 2005 1:54 am    Post subject: Re: StatusBar->simple text not displaying Reply with quote

Patrick Jamieson wrote:
Quote:

Is SimplePanel set to true in the Object Inspector?


That's it Patrick, Thanks! Didn't have to set that in 5 as I recall.
Thanks for your reply, too, Don.



Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (VCL Components Usage) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.