T
TryingLikeHeck
I have a usercontrol on which I've generated a context menu in designer.
The properties of the control lists for ContextMenu (none)
The menu shows up in the designer window and I can edit it
To assign my menu to the property in New I do
ContextMenu = RePopupMenu
To show it, on right mouse down I do
ContextMenu.Show(Me, New Drawing.Point(e.X, e.Y))
I also created some click event handlers
When running if I right mouse down I see the menu
But clicking an item does not cause the event to fire
Two questions
1) Any suggestions as to why the events are not firing
2) If I don't do ContextMenu = RePopupMenu
and on mousedows instead of doing
ContextMenu.Show(Me, New Drawing.Point(e.X, e.Y))
I do
RePopupMenu.Show(Me, New Drawing.Point(e.X, e.Y))
would that work? That is, what does assigning the property do?
Thanks in advance
(e-mail address removed)
The properties of the control lists for ContextMenu (none)
The menu shows up in the designer window and I can edit it
To assign my menu to the property in New I do
ContextMenu = RePopupMenu
To show it, on right mouse down I do
ContextMenu.Show(Me, New Drawing.Point(e.X, e.Y))
I also created some click event handlers
When running if I right mouse down I see the menu
But clicking an item does not cause the event to fire
Two questions
1) Any suggestions as to why the events are not firing
2) If I don't do ContextMenu = RePopupMenu
and on mousedows instead of doing
ContextMenu.Show(Me, New Drawing.Point(e.X, e.Y))
I do
RePopupMenu.Show(Me, New Drawing.Point(e.X, e.Y))
would that work? That is, what does assigning the property do?
Thanks in advance
(e-mail address removed)