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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MENU'S IN RUNTIME

Status
Not open for further replies.

psmurff

MIS
Mar 13, 1999
2
US
Will I be able to get rid of any systems menu's when I generate a run time application ? I want to be able to do a runtime application that shows nothing but the application screens. If this can be done, I would appreciate any help.
 
Have you went to the ToolBar Customized box and unchecked all toolbar and menu. And make sure that on the property window for the form that the menu and toolbar selection are blank. Try that an see what happens. I have set up menu and toolbar for my programs and deleted the normal toolbars and menu.
 
Add the following code to the load event of your start-up form:<br>
<br>
Dim i As Integer<br>
<br>
For i = 1 To CommandBars.Count<br>
If CommandBars(i).Visible = True _<br>
And CommandBars(i).Name &lt;&gt; &quot;Menu Bar&quot; Then<br>
CommandBars(i).Visible = False<br>
End If<br>
Next i<br>
<br>
Hope this helps
 
This wasn't as easy as I thought it would be. Access displays the form view toolbar by default - even though the above code turns its visible property off. The only way I could find to turn it off in code was to create a macro that uses the &quot;ShowToolbar&quot; action. Toolbar name should be &quot;Form View&quot;, Show = No.<br>
<br>
Execute the macro from the load event i.e. DoCmd.RunMacro &quot;FormViewToolBarOff&quot;<br>
<br>
Any better ideas let me know...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top