I have a form within a class. I want to create a popup menu for this form. I don't want the menu to be dependent on the project form. I want it contained within the class.
It seems that the menu is not a VB control type.
I have a ListView with a CommandButton over it. I want a popup menu to appear when someone right-clicks on the CommandButton.
The problem is that I can't find a way to create a menu from within my class. Since the only way to use the PopupMenu method is to have a menu associated with a form it is difficult to find a way around this.
Any suggestions would be appreciated.