Remove the status bar for a form

  • Thread starter Thread starter Beth
  • Start date Start date
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
 
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
 
Rob,
Thanks! That's perfect.
I had tried the application show status bar, but it turned it off
everywhere. It didn't occur to me to change that setting on opening or
closing a form instead of as a program wide setting.

Beth
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top