Deactivate Event


PLBCMP GUI Only

 

The Deactivate event occurs when another WINDOW becomes the active window.

Note the following:

  1. The Deactivate event is referenced using an event value of two (2). The equated label in PLBEQU.INC for this event is $DEACTIVATE.

  2. Before an Activate event occurs, a Deactivate event occurs for the current form.

  3. 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.

  4. 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.

  5. A Deactivate event may be preceded by a LostFocus event.

 

 

See Also: EVENTREGISTER, Object Events, Object IO Instructions, Object Definitions

 



PL/B Language Reference ColClick Event DoubleClick Event