
ParentFrame

ParentFrame Methods
| ParentFrame() | Constructor for the ParentFrame class |
| ChildFrames() | Returns an array of child frame windows atached to this parent frame |
| Cascade() | Arrange all child frames in a cascaded fashion |
| Tile() | Arrange all child frames in a tiled fashion |
| ActiveChild() | Returns the current active child frame (can be null) |
Derived Classes
None
See Also
public method ParentFrame(Display TargetDisplay, Window Parent, int XPos, int YPos, int Width, int Height, string Title)
Parameters
TargetDisplay
The Display object where the top-level frame is displayed (null for local Display)
Parent
Parent window for the MDI frame (typically null)
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
Return Value
None
Description
Constructor for the ParentFrame class. The target Display is passed in (null means local Display) and the Parent window is also specified (typically null for ParentFrame). If not null, the parent must be some other top-level window (Dialog, Frame or ParentFrame). 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 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 Cascade()
Parameters
None
Return Value
None
Description
This method arranges all child frame windows into a cascading format.
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<ChildFrame> ActiveChild()
Parameters
None
Return Value
None
Description
This method returns a reference to the child frame window which is currently active. Will be null if no child frames exist..
ParentFrame Class