Hide the Web menu bar

  • Thread starter Thread starter Warrio
  • Start date Start date
W

Warrio

Hello!

Is there a way to disable the 'web' menu bar from appearing at all?

On the first time where the user clicks on a hyperlink, the menu is not
displayed
on the 'OnClick' event of the textbox, I've used:
CommandBars("Web").Visible = False

This works only on the second time the user clicks on it.

Is there a way to hide, once for all, on the loading of the of a startup
form?

Thanks for any suggestion
 
Hi,
try:

DoCmd.ShowToolbar "Web", acToolbarNo

Furthermore you could just switch your hyperlink fields to text fields and
then just use the followhyperlink method on the on click event of the control
on a form:

Application.FollowHyperlink Me.YourControl

You can format the control to look like a hyperlink.
HTH
Good luck
 
Thanks a lot! it works perfectly!!
I've used the hyperlink property only to have the hand as a cursor.

Thnaks again!!
 
You could also put a single space in the hyperlink address field of the
property of a label and you would get the hand as well :)
Glad I could assist.
Good luck on future projects!
 
Back
Top