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

Form not max. and with MenuBar

Status
Not open for further replies.

orna

Programmer
Apr 2, 2002
314
IL
I need the form to stay in normal size (not maximized)
and show a MenuBar.

Is it possible???????

TIA

[cat2]
 
Possible..
Open it as "acDialog"
AutoResize=False
AutoCenter=Yes/No
Border=Dialog
Menubar=MyCustomMenuBar
.....

________________________________________________________
Zameer Abdulla
Help to find Missing people
Education's purpose is to replace an empty mind with an open one.
~Malcolm S. Forbes~
 
Code:
Private Sub Form_Open(Cancel As Integer)
     DoCmd.Restore 
End Sub

The above event procedure restores the form to normal size.

Yes, You can show a custom MenuBar for a form.
In Properties Window Click on "Other" Tab
In "Menu Bar" Property Option Select the Custom MenuBar you want.
Close Property Window.
Save the Form and switch to Form View Mode.

When the Form Opens, the associated Custom MenuBar appears along with the Form.
When the form is closed, the Default MenuBar is restored.

Hope this helps...
Regards,
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top