Using Window-Interaction Triggers
You can use four window-interaction triggers to provide extra functionality
whenever a user interacts with a window. These triggers should be defined
at the form level.
Using Window-Interaction Triggers
The common uses for these triggers are as follows:
Trigger |
Use |
When-Window-Activated |
Captures initial settings of window properties; enforces
navigation to a particular item whenever the window is activated. |
When-Window-Deactivated |
Deactivates a window. |
When-Window-Closed |
Closes a window programmatically. |
When-Window-Resized |
Maintains visual standards; captures window properties.
|
Keeping Track of the Triggered Window
The SYSTEM.EVENT_WINDOW system variable contains the name of the last
window for which a window-interaction trigger fired. You can use this
system variable to perform different actions for different windows in
your window-interaction triggers.
Trigger |
Characteristic |
When-Window-Activated |
Fires when a window is made the active window. (Note
that window activation can occur independently of navigation). |
When-Window-Deactivated |
Fires when a user deactivates a window by setting the
input focus to another window. |
When-Window-Closed |
Fires when a user closes a window by using a window-manager-specific
Close command. |
When-Window-Resized |
Fires when a window is resized, either by the user or through a
trigger. (It also fires at form startup, but not when a window is
made into an icon). |
No comments:
Post a Comment