G
Guest
I am trying to add sub menu options at runtime.
It was a simple task in VB6
For x = 0 to 5
Load mnuNames(x)
mnuNames(x).enabled = true
mnuNames(x).visible = true
mnuNames(x).Caption = strNameToDisplay(x)
Next
Is there a way to perform this function in VB.Net?
Once added how is the event captured?
Any assistance would be greatly appreciated thanks.
It was a simple task in VB6
For x = 0 to 5
Load mnuNames(x)
mnuNames(x).enabled = true
mnuNames(x).visible = true
mnuNames(x).Caption = strNameToDisplay(x)
Next
Is there a way to perform this function in VB.Net?
Once added how is the event captured?
Any assistance would be greatly appreciated thanks.