Click to See Complete Forum and Search --> : Menu Items
aaudette
Nov 1st, 1999, 07:16 PM
How can I create menu items on the fly?
smalig
Nov 1st, 1999, 07:34 PM
Create on form a menu (like 'file') with a submenu (like 'open'). Change submenu index property to zero (as array).
And add follow source to form load event:
mnuSub(0).Caption = "SubItem #0"
Load mnuSub(1)
mnuSub(1).Caption = "SubItem #1"
------------------
smalig
smalig@hotmail.com
smalig.tripod.com (http://smalig.tripod.com)
Serge
Nov 1st, 1999, 07:37 PM
Look at This Routine (http://www.vb-world.net/ubb/Forum1/HTML/009787.html) posted by Aaron Young.
Regards,
------------------
Serge
Software Developer
Serge_Dymkov@vertexinc.com
Access8484@aol.com
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.