MenuItemArray.Select Event

Definition

Occurs when the user rests the mouse pointer over a menu item.

public:
 event EventHandler ^ Select;
public event EventHandler Select;
member this.Select : EventHandler 
Public Custom Event Select As EventHandler 
Public Event Select As EventHandler 

Event Type

Remarks

This event is typically raised when the user rests the mouse pointer over the menu item. The event can also be raised when the user highlights a menu item by using the keyboard to scroll to the menu item with the arrow keys. You can use this event to display a detailed Help string pertaining to this menu item in an application's status bar.

For more information about how to handle events, see Handling and Raising Events.

Note

Functions and objects in the Microsoft.VisualBasic.Compatibility.VB6 namespace are provided for use by the tools for upgrading from Visual Basic 6.0 to Visual Basic. In most cases, these functions and objects duplicate functionality that you can find in other namespaces in the .NET Framework. They are necessary only when the Visual Basic 6.0 code model differs significantly from the .NET Framework implementation.

Applies to