Description

Occurs when a user presses, then releases, the mouse button over a control.

Syntax

bforward = CLICK (ctrlentID, ctrlclassID)

Parameters

CLICK accepts arguments for the following parameters.

ParameterDescription
ctrlentIDHas the format WindowName.ControlName, where WindowName is the identifier of the window that contains the affected control, and ControlName is the identifier of the control. Notice that a period separates the two values.
ctrlclassIDThe type of control that recognizes the event. Valid entries are:
 
TypeDescription
CHECKBMPCheck box with a bitmap on it.
CHECKBOXCheck box.
EDITTABLEEdit table.
ICONIcon.
PUSHBMPPush-button with a bitmap on it.
PUSHBUTTONPush-button.
RADIOBMPRadio button with a bitmap on it.
RADIOBUTTONRadio button.
TABCONTROLSets and navigates to the tab which was selected.

Returns

True or false. If false, the program execution returns to the calling procedure. If true, then event processing goes to the next level.

Remarks

To determine the clicked row in an edit table, use the NOTIFYPOS property. For the CHECKBMP and CHECKBOX types, use the CHECK property to get the current state; for the RADIOBUTTON types, use the VALUE property.

See Also

DBLCLICK eventBUTTONDOWN eventBUTTONUP event

  • No labels