Skip to main content
Version: 20 R6

On Double Clicked

CodeCan be called byDefinition
134D View Pro Area - 4D Write Pro area - Button - Button Grid - Check Box - Combo Box - Dropdown list - Form - Hierarchical List - Input - List Box - List Box Column - Picture Button - Picture Pop up menu - Plug-in Area - Progress Indicators - Radio Button - Ruler - Spinner - Splitter - Stepper - Tab controlA 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:

PropertyTypeDescription
codelongint13
descriptiontext"On Double Clicked"
objectNametext4D View Pro area name
sheetNametextName of the sheet of the event
rangeobjectCell range

Example

 If(FORM Event.code=On Double Clicked)
$value:=VP Get value(FORM Event.range)
End if