OnActivate picture event


Declaration
 ENTRY OnActivate(IN BOOL _bActivate)
 ; actions
 END OnActivate 
Parameters
_bActivateIf the parameter value is @TRUE, a picture window is activated.
If the parameter value is @FALSE, a picture window is deactivated.
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 OnActivate

0 komentárov

Nie ste prihlásený. Akékoľvek zmeny, ktoré vykonáte, sa označia ako anonymné. Ak už máte svoj účet, pravdepodobne sa budete chcieť prihlásiť .