OnComControlSelected - cCJCommandBarSystem
Called when a menu or tool bar items is selected via a mouse hover or cursor selection
Type: Event
Parameters
| Parameter | Type | Description |
|---|---|---|
| llControl | Variant | Pointer to the COM object that was selected. If used this must be bound to a DataFlex proxy object |
Syntax
Procedure OnComControlSelected Variant llControl
Description
The OnComControlSelected event is called when a menu or tool bar items is selected via a mouse hover or cursor selection. The event is passed the COM dispatch pointer. It uses this pointer to locate the selected item's action and sends the message OnSelected to the object that owns this action. If an object cannot be found that owns the selected action, the message OnUnhandledControlSelected is sent.
This event has a specific action and you are not encouraged to change this. The menu item event OnSelected and the cCJCommandBarSystem event OnUnhandledControlSelected are the events that should be used for customization.