by Erik Tyldum (1 Submission)
Category: Miscellaneous
Compatability: Visual Basic 3.0
Difficulty: Unknown Difficulty
Date Added: Wed 3rd February 2021
Rating:
(6 Votes)
This code adds allows you to add menu item's on your form while you are running it(runtime :)...
Assumes
'Goto the menu Editor!
'Add a menu, and a submenu.
'Name the submenu: 'mnuTest' and set its index property to '0' <- Important!
'Then you click OK!:)
'Add a Command Button, named Command1... and paste my code into it, and
Private Sub Command1_Click()
Load mnuTest(mnuTest.Count)
End Sub