ACTIVATE WINDOW Command
Displays and activates one or more user-defined windows or Visual FoxPro system windows.
ACTIVATE WINDOW WindowName1 [, WindowName2 ...] | ALL [IN [WINDOW] WindowName3 | IN SCREEN [BOTTOM | TOP | SAME] [NOSHOW] |
Parameters
- WindowName1[, WindowName2...]
-
Specifies the name of each window to activate. Separate the window names with commas. In Visual FoxPro, you can specify the name of a toolbar to activate. See SHOW WINDOW Command for a list of Visual FoxPro toolbar names.
- ALL
-
Specifies that all windows are activated. The last window activated is the active output window.
- IN [WINDOW] WindowName3
-
Specifies the name of the parent window within which the window is placed and activated. The activated window becomes a child window. A parent window can have multiple child windows. A child window activated inside a parent window cannot be moved outside the parent window. If the parent window is moved, the child window moves with it.
Note The parent window must be visible for any of its child windows to be visible.
- IN SCREEN
-
Places and activates a window in the main Visual FoxPro window. A window can be placed in a parent window by including IN WINDOW in DEFINE WINDOW when the window is created. Including the IN SCREEN clause in ACTIVATE WINDOW overrides the IN WINDOW clause in DEFINE WINDOW.
- BOTTOM | TOP | SAME
-
Specifies where windows are activated with respect to other previously activated windows. By default, a window becomes the window on top when it is activated. Including BOTTOM places a window behind all other windows. TOP places it in front of all other windows. SAME activates a window without affecting its front-to-back placement.
- NOSHOW
-
Activates and directs output to a window without displaying the window.
Remarks
Example
See Also
© , 1996-2020 • Updated: 11/10/20
Comment or report problem with topic
Microsoft Visual FoxPro 9 SP2 Help file, VFPX Edition v1.08