Aztec® Programming Language

Version 1.0 Alpha

Copyright © 2010-2013

Cold Spring® Development Group

All Rights Reserved

Download Aztec

Site Help

aztec.display.ChildFrame

public class ChildFrame from<Window>

Base

Window

Frame

ChildFrame

The ChildFrame class provides a childl frame window for use within an MDI environment (using ParentFrame). The ChildFrame contains a single window to populate with UI controls and is surrounded by a standard OS frame for MDI child windows (with resize capability).

 

The parent of each ChildFrame object must be a ParentFrame object, and the child is automatically attached to the parent during construction. The following diagram provides a complete list of valid children for the ChildFrame class.

ChildFrame Children

ChildFrame Methods

ChildFrame() Constructor for the ChildFrame class
Activate() Makes this child frame be the active child within the parent frame
Minimize() Virtual method to programmatically minimize the child frame within the Parent
Maximize() Virtual method to programmatically maximize the child frame within the Parent
Restore() Virtual method to programmatically restore the child frame to its "normal" size and position

Derived Classes

See Also

 


ChildFrame()

public method ChildFrame(Window Parent, int XPos, int YPos, int Width, int Height, string Title)

Parameters

Parent

Parent window for the child frame (must be a ParentFrame object)

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 child frame window in pixels

Height

Initial height of the child frame window in pixels

Title

Title for the child frame window

Return Value

None

Description

Constructor for the ChildFrame class. The parent must be a ParentFrame object.

 

ChildFrame Class


Activate()

public method Activate()

Parameters

None

Return Value

None

Description

This method activates this child frame within the parent frame, making it accessible for user input. This is performed automatically when the user clicks on a child window, but this method also allows it to be activated manually.

 

ChildFrame Class


Minimize()

public virtual method Minimize()

Parameters

None

Return Value

None

Description

This virtual method minimizes the child frame window within the parent frame.

 

ChildFrame Class


Maximize()

public virtual method Maximize()

Parameters

None

Return Value

None

Description

This virtual method maximizes the child frame window within the parent frame. This results in the child frame taking up the entire "client" area of the parent frame.

 

ChildFrame Class


Restore()

public virtual method Restore()

Parameters

None

Return Value

None

Description

This virtual method restores the child frame window within the parent frame to its "natural state" prior to be being minimized and/or maximized.

 

ChildFrame Class

 

Copyright © 2010-2013

Cold Spring Development Group

All Rights Reserved

Download Aztec