Groups | Blog | Home
all groups > vb.net controls > february 2004 >

vb.net controls : Running Click Event


hirf-spam-me-here NO[at]SPAM gmx.at
2/22/2004 3:12:55 AM
* "fred" <Sorry@NoSpam.com> scripsit:
[quoted text, click to view]

Call its 'PerformClick' method.

--
Herfried K. Wagner [MVP]
fred
2/22/2004 2:45:14 PM
I want to run a MenuItems click event. Obviously I can directly call the
event Sub as MenuItem1_Click(...) but I can only do that if I know the
menuitem at desin time. I want run it from within a sub where the menuitem
is one of the arguments. I.E

Sub myRoutine(ByRef aMenuitem as MenuItem)

How do I run the click event of "aMenuItem"


Thanks
Fred


AddThis Social Bookmark Button