On Double Clicked
| Code | Can be called by | Definition |
|---|---|---|
| 13 | 4D View Pro Area - 4D Write Pro area - Button - Button Grid - Check Box - Form - Hierarchical List - Input - List Box - List Box Column - Picture Button - Plug-in Area - Progress Indicators - Radio Button - Ruler - Spinner - Splitter - Stepper | A double click occurred on an object |
Description
The On Double Clicked event is generated when the user double-clicks on an object. The maximum length of time separating a double-click is defined in the system preferences.
If the On Clicked or On Double Clicked object event property is selected for an object, you can detect and handle the clicks within or on the object, using the FORM event command that returns On Clicked or On Double Clicked, depending on the case.
If both events are selected for an object, the On Clicked and then the On Double Clicked events will be generated when the user double-clicks the object.
4D View Pro
This event is generated when the user double-clicks anywhere on a 4D View Pro document. On this context, the event object returned by the FORM Event command contains:
| Property | Type | Description |
|---|---|---|
| code | longint | 13 |
| description | text | "On Double Clicked" |
| objectName | text | 4D View Pro area name |
| sheetName | text | Name of the sheet of the event |
| range | object | Cell range |
Example
If(FORM Event.code=On Double Clicked)
$value:=VP Get value(FORM Event.range)
End if