Add menu items at runtime! :)
This code adds allows you to add menu item's on your form while you are running it(runtime :)...
Original Author: Erik Tyldum
Assumptions
'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
Code
Private Sub Command1_Click()
Load mnuTest(mnuTest.Count)
End Sub
Loading Comments ...
Comments
No comments have been added for this post.
You must be logged in to make a comment.