The &ZWINDOW# system variable returns the number of active windows.
To determine is the user has activated a second window. A value of 1 is returned if one window is active, 2 is returned if both windows are active.
Examples: &ZWINDOW#
&IF &ZWINDOW# = 2 &THEN +
&TEXT = &STR TWO WINDOWS ACTIVE
Note: The SPLIT and SWAP commands is used to open a second window.
| Copyright © 2009 CA. All rights reserved. |
|