PDA

View Full Version : Rich client statusbar



DrTronic
Aug 20th, 2004, 08:49 AM
hello,

I'm devloping an application where it must be possible showing and hiding the statusbar.

I tried the setvisible, but that doesn't seem to work.

I'm using following code:

Application.instance().getActiveWindow().getStatus Bar().setVisible(selected);

I get no errors, or something else, the bar hust wont hide.

Can someone help me?

claudio
Aug 20th, 2004, 03:10 PM
Hi,

do you meen add and remove the statusbar? Or just clear the messages from the statusbar?

Claudio

DrTronic
Aug 21st, 2004, 03:31 AM
I mean just set the statusbar visible or invisible...

Keith Donald
Aug 21st, 2004, 08:43 AM
There should be two ways to set status bar visibility; one is view the ApplicationAdvisor object which is responible for configuring new ApplicationWindows as they are opened. This is a one-shot thing; however. Calling setVisible() on the status bar control should also work, and I will look into this. Thanks - Keith