ParentFrame
ParentFrame Methods
ParentFrame() | Constructor for the ParentFrame class |
Tile() | Arrange all child frame windows in a tiled fashion |
Cascade() | Arrange all child frame windows in a cascaded fashion |
Derived Classes
None
See Also
public method ParentFrame(Display TargetDisplay, int XPos, int YPos, int Width, int Height, string Title, bool AllowResize = true)
Parameters
TargetDisplay
The Display object where the top-level frame is displayed (null for local Display)
XPos
One based X position of window relative to parent
YPos
One based Y position of window relative to parent
Width
Initial width of the entire frame window in pixels
Height
Initial height of the entire frame window in pixels
Title
Title for the frame window
AllowResize
Provides user resize capability in the frame (true by default)
Return Value
None
Description
Constructor for the ParentFrame class. The target Display is passed in (null means local Display) and the parent window is null by definition (since it is a top-level window). Base information such as position and size is also passed in.
If the Display object is connected to a remote UI Display Server process, the parent frame window will be created on the remote machine. All child windows of the parent frame will automatically be displayed on the remote machine as well. All UI events from the remote UIs are handled in the local Aztec program.
If the XPos and YPos are zero, the window will be centered within the Display.
Note that the ParentFrame window is created in a "hidden" state, so the 'Show()' method must be called to display the window. This allows the script to create and initialize the entire UI before actually displaying it on the screen.
ParentFrame Class
public method Tile()
Parameters
None
Return Value
None
Description
This method arranges all child frame windows into a tiled format.
ParentFrame Class
public method Cascade()
Parameters
None
Return Value
None
Description
This method arranges all child frame windows into a cascading format.
ParentFrame Class