Fires when the user double clicks on the control.
Parameters
Parameter | Description |
---|---|
Item | The item double clicked |
Point | The mouse cursor location |
Button | The mouse button used to click |
Shift | Indicates whether or not the SHIFT key is down |
Control | Indicates whether or not the CTRL key is down |
Remarks
The OnDblClick event fires when the user double clicks anywhere on the control. The Item parameter indiciates which item was double clicked. If the user did indeed double click on an item, then this parameter is set to that item's key. If this parameter is "", then user double clicked on an empty portion of the control.
The remaining parameters identify the state of various objects when the double click occured. The Point parameter identifies the location of the mouse cursor relative to the control's upper left hand corner. The Button parameter names the mouse button used to execute the double click and will be "Left", "Middle", or "Right". The Shift and Control parameters indicate whether or not the SHIFT or CTRL keys respectively where pressed during the double click. Is such cases, they will be set to 1.
Example
Transfer Param1 to Item Transfer Param2 to Point Transfer Param3 to Button Transfer Param4 to Shift Transfer Param5 to Ctrl // Did the user double click an item? ItemClicked = (Item NE "")