Description

Occurs when a window and all of the child windows (if applicable) no longer have focus.

Syntax

bforward = INACTIVATED (ctrlentID, ctrlclassID)

Parameters

INACTIVATED 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. The window control type is the only valid entry.

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

ACTIVATED event

Remarks

Instead of using the GOTFOCUS and LOSTFOCUS events for a window, use ACTIVATED and INACTIVATEDGOTFOCUS and LOSTFOCUS usually only happen once for a window, immediately after creation.

  • No labels