OnActivate
OnActivate picture event
Declaration
ENTRY OnActivate(IN BOOL _bActivate)
; actions
END OnActivate Parameters
_bActivate | If the parameter value is @TRUE, a picture window is activated. |
Description
The event is generated when the active picture window is being changed.
OnActivate(@FALSE) is generated for the picture which was activated.
OnActivate(@TRUE) is generated for the picture which is being activated (the picture event is derived from Windows messages WM_ACTIVATE and WM_DEACTIVATE).
Example
TEXT _status
ENTRY OnActivate(IN BOOL _bActivate)
IF _bActivate THEN
_status := "Window is activated"
ELSE
_status := "Window is deactivated"
ENDIF
END OnActivateRelated pages: