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
None
See Also
Class Hierarchy, ParentFrame, Control
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
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
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
public virtual method Minimize()
Parameters
None
Return Value
None
Description
This virtual method minimizes the child frame window within the parent frame.
ChildFrame Class
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
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