Deactivate Event
PLBCMP GUI Only
The Deactivate event occurs when another WINDOW becomes the active window.
Note the following:
The Deactivate event is referenced using an event value of two (2). The equated label in PLBEQU.INC for this event is $DEACTIVATE.
Before an Activate event occurs, a Deactivate event occurs for the current form.
A form may become active by user action, such as clicking on a window, or by using the ACTIVATE or SETFOCUS statements in program code.
The Deactivate event occurs only when the active window changes within an application. When the application changes to a background or foreground process, these events are not given.
A Deactivate event may be preceded by a LostFocus event.
See Also: EVENTREGISTER, Object Events, Object IO Instructions, Object Definitions
![]() |