Remove the status bar for a form

B

Beth

Hi,
Is there a way I can keep the status bar enabled in my program, but remove
if for a few select forms? I need it most of the time, but one a couple of
forms I want to hide some of the information that shows in it.

Thanks,
Beth
 
R

Rob Parker

Hi Beth,

You can use
Application.SetOption "Show Status Bar", False
to remove the status bar.

If you put this in the form's Activate event, and
Application.SetOption "Show Status Bar", True
in the form's deactivate event, this will remove the status bar only when
the form has focus.

Alternatively if the "information that shows in it" is the field Description
entry in the underlying table, which will display by default when you add
the field to the form, you can remove that entry from the Status Bar Text
entry for the field(s) in question (it's in the Other tab of the property
dialog); this will keep the status bar to display other messages which may
appear there, but will not show your sensitive information.

HTH,

Rob
 
Top