Occurs when the user hovers their mouse over a menu item or selects it with the keyboard but has not activated it.
The following declaration shows the syntax for a method that handles the Select event.
[Visual Basic] Private Sub MenuItemName_Select( _ ByVal sender As Object, _ ByVal e As EventArgs _ ) [C#] private void MenuItemName_Select( object sender, EventArgs e ); [C++] private: void MenuItemName_Select( Object* sender, EventArgs* e ); [JScript] private MenuItemName_Select( sender : Object, e : EventArgs );
Property | Description |
---|---|
|
You can use this event to display a help string pertaining to this menu item in an application's status bar.
MenuItem Class | MenuItem MembersTopic | System.WinForms Namespace