How to make menu hide/disappear?

Please note that official support for this menu version has now ceased. There are still plenty of users, though, and the forum is still running. Some of our long-time users may be able to help you out.
Post Reply
cuppy
Beginner
Beginner
Posts: 2
Joined: Wed Jul 17, 2002 9:49 am

How to make menu hide/disappear?

Post by cuppy »

Hi all,

Does anyone have any idea on how to make the menu bar hide and show from a function call?

Currently it is always visible. I need to make the menu bar disappear when i call certain function and reappear when i call another function.

Thanks!

Esther
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Post by Andy »

Try this

Code: Select all

mn=getMenuByName("mainmenu")
SDiv("menu"+mn,0);
You can replace "mainmenu" with your menu name.

Also the second parameter in SDiv is 1 for on, 0 for off

Cheers
Andy
cuppy
Beginner
Beginner
Posts: 2
Joined: Wed Jul 17, 2002 9:49 am

Post by cuppy »

thanks alot! :mrgreen:
Post Reply