Aztec® Programming Language
Version 1.1 Alpha 2

Copyright © 2010-2017, Aztec Development Group, All Rights Reserved

Download Aztec

Search        Contact Us

If it wasn't for bad luck...

I wouldn't have no luck at all.

- Booker T. Jones and William Bell

 

aztec.ui.ParentFrame

public class ParentFrame from<Window>

Base

Window

Frame

ParentFrame

The ParentFrame class provides a top-level frame MDI window which contains an empty frame surrounded by a standard OS frame with resize capability. The frame can also contain a menu bar and one or more toolbars. One or more ChildFrame objects can be created and attached to the ParentFrame object (implicitly during creation of the child).

 

The following diagram provides a complete list of valid child windows for the ParentFrame.

Valid Child Windows of 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

See Also

 


ParentFrame()

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


Tile()

public method Tile()

Parameters

None

Return Value

None

Description

This method arranges all child frame windows into a tiled format.

 

ParentFrame Class


Cascade()

public method Cascade()

Parameters

None

Return Value

None

Description

This method arranges all child frame windows into a cascading format.

 

ParentFrame Class

 

Copyright © 2010-2017

Aztec Development Group

All Rights Reserved

Download Aztec