|
-
May 17th, 2000, 07:01 PM
#2
Make a menuitem in the submenu where you want to load the additional menu's, give it a index of 0
Now for example you called it mnuTest now you can laod additional menu's with
Load mnuTest(1)
Load mnuTest(2)
Load mnuTest(3)
Load mnuTest(4)
etc.
Now you can just edit the properties of your new menu's
mnuTest(4).Caption = "This is my new menu item (4)"
Now when someone clicks any of the menus the mnuTest_Click event gets fired, and with the Index you can decide wich one was clicked.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|