Description

User-defined event.

Syntax

bforward = OMNIEVENT (ctrlentID, ctrlclassID, MESSAGE, param1, param2, param3, param4)

Parameters

OMNIEVENT 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
CHECKBOXCheck box.
COMBOBOXCombo box.
EDITBOXEdit box.
EDITFIELDEdit line.
EDITTABLEEdit table.
HSCROLLHorizontal scroll bar.
ICONIcon.
LISTBOXList box.
PUSHBUTTONPush-button.
RADIOBUTTONRadio button.
VSCROLLVertical scroll bar.
WINDOWWindow.
MESSAGEUser-defined.
param1User-defined.
param2User-defined.
param3User-defined.
param4User-defined.

Returns

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

  • No labels