Skip to main content

MoveSubwindow

MoveSubwindow [/W=winName ] [fguide=(gLeft, gTop, gRight, gBottom ), fnum=(left, top, right, bottom ), pguide=(gLeft, gTop, gRight, gBottom )]

The MoveSubwindow operation moves the active or named subwindow to a new location within the host window. This command is primarily for use in recreation macros; users should use layout mode for repositioning subwindows.

Parameters

fguide=(gLeft, gTop, gRight, gBottom )
Specifies the frame guide name(s) to which the outer frame of the subwindow is attached inside the host window.
The frame guides are identified by the standard names or user-defined names as defined by the host. Use * to specify a default guide name.
When the host is a graph, additional standard guides are available for the outer graph rectangle and the inner plot rectangle (where traces are plotted).
See Details below for standard guide names.
fnum=(left, top, right, bottom )
Specifies the new location of the subwindow. The location coordinates of the subwindow sides can have one of two possible meanings:
1.When all values are less than 1, coordinates are assumed to be fractional relative to the host frame size.
2.When any value is greater than 1, coordinates are taken to be fixed locations measured in points, or control panel units for control panel hosts, relative to the top left corner of the host frame.
pguide=(gLeft, gTop, gRight, gBottom )
Specifies the guide name(s) to which the plot rectangle of the graph subwindow is attached inside the host window.
Guides are identified by the standard names or user-defined names as defined by the host. Use * to specify a default guide name.
See Details below for standard guide names.

Flags

/W= winNameMoves the subwindow in the named window or subwindow. When omitted, action will affect the active subwindow.
When identifying a subwindow with winName, see Subwindow Syntax for details on forming the window hierarchy.

Details

When moving an exterior subwindow, only the fnum keyword may be used. The values are the same as the NewPanel /W flag for exterior subwindows.

The names for the built-in guides are as defined in the following table:

Guide NamesLeftRightTopBottom
Subwindow FrameFLFRFTFB
Outer Graph RectangleGLGRGTGB
Inner Plot RectanglePLPRPTPB

The frame guides apply to all window and subwindow types. The graph rectangle and plot rectangle guide types apply only to graph windows and subwindows.

See Also

MoveWindow, Embedding and Subwindows