OnDblClick Event

Occurs when the mouse button is double-clicked over the object.

Syntax

Object.OnDblClick()

The OnDblClick event syntax has the following parts:

 

Name

Type

Description

Object

An object

A control or the AForm object

Comments

A mouse button is double-clicked when the user presses and releases, then presses and releases the mouse button again, within a time interval set in Windows as the double-click speed of the mouse.

Example

cb1.OnDblClick()

{

cb1.Caption="Hello"

}

Applies to

 

AChart

AImage

ASwitch

AComboBox

ALabel

ATextBox

AForm

AListBox

 

AGroupBox

ASlider

 

See Also

ACheckBox.OnChange, AComboBox.OnChange, ALabel.OnChange, ARadioButton.OnChange, AScrollBar.OnChange, ASlider.OnThumbValueChanged, ASwitchBox.OnChange, ATextBox.OnChange, OnClick, OnMouseDown, OnMouseMove, OnMouseUp