Description

Occurs when a user has taken an action that might have altered text.

Syntax

bforward = CHANGED (ctrlentID, ctrlclassID, newdata)

Parameters

CHANGED 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.
ctrlclassID

The type of control that recognizes the event. Valid entries are:

TypeDescription
COMBOBOXCombo box.
EDITBOXEdit box.
EDITFIELDEdit line.
EDITTABLEEdit table.
LISTBOXList box.
newdataThe changed data.

Returns

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

See also

CHAR eventMODIFIED property

Remarks

For a LISTBOX or a COMBOBOX control, the CHANGED event occurs when an item in the list is selected or when the selection changes.