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

MDI Form menu visible property error

Status
Not open for further replies.

ebeesam

Programmer
Jan 23, 2003
7
0
0
IN
when i try to hide the menu using
mnuEditor.visible=false the the following error will showing


" Visisble property cann't be set on this control"
is any one have any idea please post the message Thanks,
Ebee Sam
 
what is mnuEditor. if it is the menu name then try changing it as mnuEditor may be a keyword.
 
As far as I know you can't hide or show the entyre menu at once. You have to hide or display the menuitems one by one. That is, if you want to hide the entyre menu, you have to hide the items of the main menubar. If you use indexes on the menu, you can loop through the items using the lbound and ubound properties to build a for next loop.

Hope this helps you out.

Merlijn is the name, and logic is my game.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top