Link to home
Start Free TrialLog in
Avatar of EYoung
EYoungFlag for United States of America

asked on

How disable or remove a menu option at run time?

Basics:  VB6 sp5 on Windows NT.

Question:  Based on certain conditions I want to disable or even eliminate some menu options.  How can that be done?

Thanks.
ASKER CERTIFIED SOLUTION
Avatar of JonFish85
JonFish85

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of andysalih
andysalih

also to add to johns comment,

if you want to disable buttons or labels or text on your menu.

then

command1.enable=false

or what ever the button is called

cheers
Andy
Avatar of EYoung

ASKER

Yes, that is what I have been looking for.  Thanks to both of you.

I have another question that I am not getting far on.  Could you two look at it?  Thanks.  It is:

https://www.experts-exchange.com/jsp/qManageQuestion.jsp?qid=20164266

Regards,
EYoung
glad I could help!