[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
+---------------------------------+
| ZOOM WINDOW |
+---------------------------------+
ZOOM WINDOW <window name>
MIN [AUTO] | MAX | NORM
[AT <row1, col1>
| FROM <row1, col1>
[SIZE <row2, col2>
| TO <row2, col2>]]
-----------------------------------
Changes size of System or user-defined window.
-----------------------------------
This command lets you change the size of System and user-defined
windows. Windows may be reduced to a minimum size leaving only the
window name or title visible, they may be enlarged to fill the entire
screen or they may be sized anywhere in between. Windows may be
"zoomed" directly from minimum to maximum size and vice versa. You may
also specify a screen or window location where the newly resized window
will be placed.
Examples of System windows include the Command window, Browse windows,
text editing windows, the Filer and so on (the size of the Filer, the
Calculator and the Puzzle may not be increased). User-defined windows
are created with DEFINE WINDOW. For more information on creating
user-defined windows see DEFINE WINDOW in this help facility.
FoxPro lets you establish child-parent relationships between windows.
Windows (the children) may be placed in other windows (the parents)
through the IN [WINDOW] clause of DEFINE and ACTIVATE WINDOW. Browse
windows, text editing windows, report and label layout screens, the
Filer and the help facility may also be placed within a parent window.
A child window is constrained by the parent window it is placed in. If
you use ZOOM WINDOW to change the size of a child window, the child's
maximum size cannot exceed the size of the parent window.
Clauses
-------
<window name>
The window whose size you want to change.
MIN
Reduces the window to a minimum size, leaving just the name of the
window or the window's title on your screen or window.
Reducing a window to a minimum size makes it easy to place many windows
on the screen or in a window simultaneously and still have ample space
for output. For example, you could place FoxPro desk accessories (the
Calculator, the Calendar/Diary, the ASCII Chart, etc.) in their minimum
size along the bottom row of the screen for easy access and use.
All System windows may be reduced to a minimum size. System windows
must be open on the screen or in a window before they may be minimized.
Only user-defined windows created with MINIMIZE in their definitions may
be minimized. A user-defined window may be minimized after it is
defined - it isn't necessary that the window be activated before you
change its size.
An active System or user-defined window may be interactively minimized
by double clicking the mouse on the top border of the window, pressing
the Ctrl+F9 key combination or choosing Zoom . from the Window menu
popup. If you also hold down the Shift key and double click, press
Shift+Ctrl+F9 or choose Zoom . while pressing Shift, the window is
minimized and "docked" in the lower right corner of the screen. To
return the window to its original size, repeat any of the steps above
(with or without the Shift key pressed).
MAX
Expands a window to full screen or window size. If a child window is
placed in a parent window and the child is expanded to its maximum size,
it expands to fill the parent window. If any of the additional ZOOM
WINDOW clauses (AT, SIZE, TO or FROM) are included they are ignored.
Only user-defined windows created with ZOOM in their definitions may be
zoomed to maximum size. An active System or user-defined window may be
interactively maximized by clicking the mouse on the upper right corner
of the window, pressing the Ctrl+F10 key combination or choosing Zoom .
from the Window menu popup. To return the window to its original size,
repeat any of these steps.
NORM
Returns a window to its original size after it has been minimized or
maximized; NORM may also be used to move or resize a window (or both).
To return a minimized or maximized window to its original size and
location use ZOOM WINDOW NORM <window name> without any additional
clauses.
AUTO
If AUTO is included with the MIN option, the window is minimized and
docked in the lower right corner of the screen. If AUTO is included
with MAX or NORM it is ignored.
AT <row1, col1> | FROM <row1, col1>
Restores minimized or maximized windows to their original size at a
different location. The <row1,col1> coordinates specify where the upper
left corner of the window will be placed. A window's location can also
be changed with MOVE WINDOW. For more information see MOVE WINDOW in
this help facility.
You may specify the placement of a minimized window by including the
optional AT and FROM clauses. The left edge of the minimized window
will be placed in the screen or window location specified by <row1,
col1>. If the optional SIZE or TO is also included it is ignored.
Note that when you exit FoxPro the minimized positions of System
windows are saved in the resource file (FOXUSER.DBF). The next time you
minimize System windows they move to their locations from the previous
FoxPro session.
SIZE <row2, col2> | TO <row2, col2>
You may also specify a window size that differs from the original by
including SIZE or TO. If SIZE is included, the window will be <row2>
rows high and <col2> columns wide. If TO is used, the lower right
corner of the window will be placed at the <row2, col2> screen or window
position. The window will be <row2> - <row1> rows high and <col2> -
<col1> columns wide.
-----------------------------------
See Also: ACTIVATE WINDOW, DEFINE WINDOW, MOVE WINDOW, WMINIMUM(),
WMAXIMUM()
-----------------------------------
See Also:
ACTIVATE WINDOW
DEFINE WINDOW
MOVE WINDOW
WMINIMUM()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson