| View previous topic :: View next topic |
| Author |
Message |
Nate Lockwood Guest
|
Posted: Fri May 20, 2005 11:37 pm Post subject: StatusBar->simple text not displaying |
|
|
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
|
Posted: Fri May 20, 2005 11:50 pm Post subject: Re: StatusBar->simple text not displaying |
|
|
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
|
Posted: Fri May 20, 2005 11:52 pm Post subject: Re: StatusBar->simple text not displaying |
|
|
Try
StatusBar->SimpleText = "Test";
StatusBar->Refresh();
Don
|
|
| Back to top |
|
 |
Nate Lockwood Guest
|
Posted: Sat May 21, 2005 1:54 am Post subject: Re: StatusBar->simple text not displaying |
|
|
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 |
|
 |
|