Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Menu Bar

Status
Not open for further replies.

rkd

Technical User
Joined
Mar 5, 2000
Messages
8
Location
GB
How can I remove the standard menu bar and replace it with my own? I have made my own and called it &quot;AddressMenuBar&quot; I can get it appear with the standard one. Plus I only won't it to appear on this form not any other.<br>
<br>
Thanks<br>
<br>
Stuart
 
Simple, as a Menu is now a Toolbar then you should use the Showtoolbar method.<br>
<br>
Thus, to hide the normal menu:<br>
<br>
Docmd.Showtoolbar &quot;Menu Bar&quot;, acToolbarNo<br>
<br>
Now as for showing your toolbar, it depends on how it's created. If it's by way of a macro then off hand I can't remember ( this is an ancient method of Menus ) . If its a proper menu bar then ist is simply:<br>
<br>
Docmd.Showtoolbar &quot;yourmenuname&quot;, acToolbarYes<br>
<br>
<br>
WP<br>
<br>
<p>Bill Paton<br><a href=mailto:wpaton@neptune400.co.uk>wpaton@neptune400.co.uk</a><br><a href=
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top