Aztec® Programming Language
Version 1.1 Alpha 2

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

Download Aztec

Search        Contact Us

Am I so crazy to feel... that it's been prearranged?

- Pete Townshend

 

aztec.ui.ChildFrame

public class ChildFrame from<Window>

Base

Window

Frame

ChildFrame

The ChildFrame class provides a child frame window for use within a Multiple Document Interface (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 child windows for the ChildFrame class.

Valid Child Windows of ChildFrame

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
SplitterPane() Returns the splitter pane for the frame given a row and column

Derived Classes

See Also

 


ChildFrame()

public method ChildFrame(Window Parent, int XPos, int YPos, int Width, int Height, string Title, bool AllowResize = true, int NumRows = 0, int NumColumns = 0)

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

AllowResize

Provides user resize capability in the frame (true by default)

NumRows

Number of SplitterPane Rows (default of 0)

NumColumns

Number of SplitterPane Columns (default of 0)

Return Value

None

Description

Constructor for the ChildFrame class. The parent must be a ParentFrame object. If the number of rows and columns are one or greater, then the system automatically creates a 2-D array of SplitterPane windows within the ChildFrame. Note that either Rows or Columns must be greater than one, or no splitters will be created.

 

ChildFrame Class


SplitterPane()

public method<SplitterPane> SplitterPane(int Row, int Column)

Parameters

Row

One based Row of the splitter

Column

One based Column of the splitter

Return Value

SplitterPane associated with specified row and column

Description

This method returns the SplitterPane within the frame object specified by the one based row and column. If the row and column are not valid for the child frame, or there are no splitters for the child frame, the method returns null.

 

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-2017

Aztec Development Group

All Rights Reserved

Download Aztec