Form Menu Bar

View: New views
2 Messages — Rating Filter:   Alert me  

Form Menu Bar

by pmac :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello

How do you turn off a menu bar in a form?

Thank you

Paul McNary
pmcnary@...


_______________________________________________
Post Messages to: Dabo-users@...
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/488259E2.6040604@...

Re: Form Menu Bar

by Ed Leafe :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Jul 19, 2008, at 4:17 PM, Paul McNary wrote:

> How do you turn off a menu bar in a form?

        Two ways: set the form's MenuBarClass property to None to ensure that  
no menu bar is associated with that form, or set the form's  
ShowMenuBar property to False; this will allow you to set a  
MenuBarClass, but not have it automatically be created when the form  
is created. Both of these have to be set in code before the form is  
instantiated; they have no effect afterwards.

        After the form is created, you can execute 'form.MenuBar = None' to  
release its menu bar.

-- Ed Leafe





_______________________________________________
Post Messages to: Dabo-users@...
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/248F7091-479D-4E6C-8878-D2FAC3D0F4C7@...
LightInTheBox - Buy quality products at wholesale price