| Parameter | Description |
|---|---|
| vCommandBarControl | Pointer to the COM control that was selected. If used, this must be bound to a DataFlex proxy object, which should be based |
Procedure OnSelected Variant vCommandBarControl
OnSelected is called when you hover over a menu or toolbar item with the mouse or when you keyboard navigate to a menu item. It is called after the tool tip (psTooltip) and description (psDescription) is displayed.
The vCommandBarControl is a pointer to the COM control that was selected. If you need to use this object you will need to create a DataFlex proxy object based on cCJCommandBarControl or one of its sub-classes, bind the pointer to this object, use it, and destroy it. It is unlikely that you will ever need to do this.