CommandBar Invisible

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

I've got the following problem: If I open a specific form by double-clicking
its name in the Database window it runs through a Form_Open procedure. Last
command in this procedure is "CommandBars("Formatting (Form/Report)").Visible
= False". But this does not work as at this very moment this commandbar is
not visible yet. I have tried it with the Form_Activate as well as the
Form_Current procedure - just the same. I probably could do it, by acting on
any first movement in the first control, but is there possibly a more elegant
way ?

Thanks a lot in anticipation !
 
ulrich1947 said:
I've got the following problem: If I open a specific form by double-clicking
its name in the Database window it runs through a Form_Open procedure. Last
command in this procedure is "CommandBars("Formatting (Form/Report)").Visible
= False". But this does not work as at this very moment this commandbar is
not visible yet. I have tried it with the Form_Activate as well as the
Form_Current procedure - just the same. I probably could do it, by acting on
any first movement in the first control, but is there possibly a more elegant
way ?

Although I normally use the form's Load event, I would have
expected the Current event to work.

Are you certain the you are using the exact name of the
toolbar?
 
Back
Top