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.
Parameter | Description | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ctrlentID | Has 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. | ||||||||||||||||||||
ctrlclassID | The type of control that recognizes the event. Valid entries are: | ||||||||||||||||||||
|
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.