please send me some code to create run time menus.
it will be a great help to me.
Printable View
please send me some code to create run time menus.
it will be a great help to me.
Here is code that Megatron gave a while ago to create submenus at runtime.
Make a menu called mnuTest with a SubMenu called mnuSub.
Make sure that that Index property for it is set to 0.
Now insert this code into a CommandButton on the Form.
Code:Private Sub Command1_Click()
' Add's another menu
Load mnuSub(mnuSub.Count)
End Sub
I'll e-mail you one of my sample projects which does this and has other useful advanced features.
*Smiles smugly*