Home > Language Reference > Classes > ActionControl

Click Event

Raised when the user taps a control.

Syntax

Public Event Click()

Remarks

In the case of the PushButton and CheckBox controls, events are raised after the state of the control has been updated. In the appropriate event handler, the Value property of the control will correctly reflect the new state of the control.

In the case of Selector controls which the Mode property is set to hbSelectorDate or hbSelectorTime, the Click event is raised before opening the date or time selection dialog box, and the values of the properties Date and Time do not reflect the user's selection until the Change event has been raised.

It is possible to simulate a tap on the control by calling the HitControl method.

System requirements

SystemMinimal versionRemarks
Palm OSPalm OS 3.0N/A