Regulapati
asked on
How Can I add a item to Menu Bar at runtime?
Hi all,
We are trying to add an item to menu(Created at design time). Is there any way to do this?
Thanks for you help in advance.
Madhu
We are trying to add an item to menu(Created at design time). Is there any way to do this?
Thanks for you help in advance.
Madhu
hearing...
ASKER
Hi Ventod,
Thanks for the quick response.
Can you please be more specidific on this.
In the eample you have given I suppose you have
created the mnuTest using Menu Editor.
The part I am not understanding is "And it must be a control array. (index <> "")". How can I do this?
Thanks
Madhavi
Thanks for the quick response.
Can you please be more specidific on this.
In the eample you have given I suppose you have
created the mnuTest using Menu Editor.
The part I am not understanding is "And it must be a control array. (index <> "")". How can I do this?
Thanks
Madhavi
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Forgot to mention, You can't Load an index that already exists and you can't Unload an index that isn't loaded.
The at runtime you can say something like
Load mnuTest(x)
mnutest(x).visible= true
where x is an index that is not already loaded.