Class TfrmStartUp

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TfrmStartUp = class(TfrmCustomGophast)

Description

TfrmStartUp is used to specify the grid for a new model or open an existing model.

Hierarchy

Overview

Fields

Implicit btnDontCreateGrid: TBitBtn;
Implicit btnNext: TBitBtn;
Implicit gbInitialGrid: TGroupBox;
Implicit lblGridAngle: TLabel;
Implicit lblGridOrigin: TLabel;
Implicit lblNumNodesX: TLabel;
Implicit lblNumNodesY: TLabel;
Implicit lblNumNodesZ: TLabel;
Implicit lblOriginX: TLabel;
Implicit lblOriginY: TLabel;
Implicit lblOriginZ: TLabel;
Implicit lblVerticalExaggeration: TLabel;
Implicit lblXDist: TLabel;
Implicit lblYDist: TLabel;
Implicit lblZDist: TLabel;
Implicit pcStartup: TPageControl;
Implicit pnlBottom: TPanel;
Implicit rdeAngle: TRbwDataEntry;
Implicit rdeColWidth: TRbwDataEntry;
Implicit rdeExaggeration: TRbwDataEntry;
Implicit rdeLayerHeight: TRbwDataEntry;
Implicit rdeNCol: TRbwDataEntry;
Implicit rdeNLay: TRbwDataEntry;
Implicit rdeNRow: TRbwDataEntry;
Implicit rdeRowWidth: TRbwDataEntry;
Implicit rdeX: TRbwDataEntry;
Implicit rdeY: TRbwDataEntry;
Implicit rdeZ: TRbwDataEntry;
Implicit rgChoice: TRadioGroup;
Implicit tabInitialGrid: TTabSheet;
Implicit tabModelChoice: TTabSheet;
Implicit btnHelp: TBitBtn;

Methods

Implicit procedure btnDontCreateGridClick(Sender: TObject);
Implicit procedure btnNextClick(Sender: TObject);
Implicit procedure FormCreate(Sender: TObject); override;
Implicit procedure pcStartupPageChanging(Sender: TObject; NewPage: TTabSheet; var AllowChange: Boolean);
Implicit procedure FormShow(Sender: TObject);
Private procedure SetUpGrid;
Private procedure SetExaggeration;

Description

Fields

Implicit btnDontCreateGrid: TBitBtn;
 
Implicit btnNext: TBitBtn;

btnNext: TBitBtn; See btnNextClick.

Implicit gbInitialGrid: TGroupBox;

gbInitialGrid: TGroupBox; gbInitialGrid groups together the controls for creating an initial grid.

Implicit lblGridAngle: TLabel;

lblGridAngle: TLabel; lblGridAngle displays "Grid angle (degrees) ".

Implicit lblGridOrigin: TLabel;

lblGridOrigin: TLabel; lblGridOrigin displays "Grid origin:".

Implicit lblNumNodesX: TLabel;

lblNumNodesX: TLabel; lblNumNodesX displays "Number of nodes in X (column) direction".

Implicit lblNumNodesY: TLabel;

lblNumNodesY: TLabel; lblNumNodesY displays "Number of nodes in Y (row) direction".

Implicit lblNumNodesZ: TLabel;

lblNumNodesZ: TLabel; lblNumNodesZ displays "Number of nodes in Z (layer) direction".

Implicit lblOriginX: TLabel;

lblOriginX: TLabel; lblOriginX displays "X".

Implicit lblOriginY: TLabel;

lblOriginY: TLabel; lblOriginY displays "Y".

Implicit lblOriginZ: TLabel;

lblOriginZ: TLabel; lblOriginZ displays "Z".

Implicit lblVerticalExaggeration: TLabel;

lblVerticalExaggeration: TLabel; lblVerticalExaggeration displays "Vertical exaggeration".

Implicit lblXDist: TLabel;

lblXDist: TLabel; lblXDist displays "Distance between X nodes".

Implicit lblYDist: TLabel;

lblYDist: TLabel; lblYDist displays "Distance between Y nodes".

Implicit lblZDist: TLabel;

lblZDist: TLabel; lblZDist displays "Distance between Z nodes".

Implicit pcStartup: TPageControl;

pcStartup: TPageControl; pcStartup holds tabModelChoice and tabInitialGrid.

Implicit pnlBottom: TPanel;

pnlBottom: TPanel; pnlBottom holds the buttons at the bottom of TfrmStartUp.

Implicit rdeAngle: TRbwDataEntry;

rdeAngle: TRbwDataEntry; rdeAngle is used to specify the GridAngle.

Implicit rdeColWidth: TRbwDataEntry;

rdeColWidth: TRbwDataEntry; rdeColWidth is used to specify the default column width (ColumnWidth).

Implicit rdeExaggeration: TRbwDataEntry;

rdeExaggeration: TRbwDataEntry; rdeExaggeration is used to specify the Exaggeration.

Implicit rdeLayerHeight: TRbwDataEntry;

rdeLayerHeight: TRbwDataEntry; rdeLayerHeight is used to specify the default layer height (LayerThickness).

Implicit rdeNCol: TRbwDataEntry;

rdeNCol: TRbwDataEntry; rdeNCol is used to specify the number of column boundaries in the TPhastGrid.

Implicit rdeNLay: TRbwDataEntry;

rdeNLay: TRbwDataEntry; rdeNLay is used to specify the number of layer boundaries in the TPhastGrid.

Implicit rdeNRow: TRbwDataEntry;

rdeNRow: TRbwDataEntry; rdeNRow is used to specify the number of row boundaries in the TPhastGrid.

Implicit rdeRowWidth: TRbwDataEntry;

rdeRowWidth: TRbwDataEntry; rdeRowWidth is used to specify the default row width (RowWidth).

Implicit rdeX: TRbwDataEntry;

rdeX: TRbwDataEntry; rdeX is used to specify the X-coordinate of the grid origin.

Implicit rdeY: TRbwDataEntry;

rdeY: TRbwDataEntry; rdeY is used to specify the Y-coordinate of the grid origin.

Implicit rdeZ: TRbwDataEntry;

rdeZ: TRbwDataEntry; rdeZ is used to specify the Z-coordinate of the grid origin.

Implicit rgChoice: TRadioGroup;

rgChoice: TRadioGroup; rgChoice is used to choose to open an existing model or create a new one.

Implicit tabInitialGrid: TTabSheet;

tabInitialGrid: TTabSheet; tabInitialGrid holds the controls for creating an initial grid.

Implicit tabModelChoice: TTabSheet;

tabModelChoice: TTabSheet; tabModelChoice holds rgChoice.

Implicit btnHelp: TBitBtn;

btnHelp is used to display help on this TfrmStartUp.

Methods

Implicit procedure btnDontCreateGridClick(Sender: TObject);

btnDontCreateGridClick sets the vertical exaggeration of the model but does not set up the grid.

Implicit procedure btnNextClick(Sender: TObject);

If tabModelChoice is the active page, btnNextClick either opens a new model or advances to tabInitialGrid depending on the choice in rgChoice.
If tabInitialGrid is the active page, btnNextClick sets up the grid using the values displayed on tabInitialGrid by calling SetUpGrid.

Implicit procedure FormCreate(Sender: TObject); override;

FormCreate initializes TfrmStartUp.

Implicit procedure pcStartupPageChanging(Sender: TObject; NewPage: TTabSheet; var AllowChange: Boolean);

pcStartupPageChanging sets the HelpKeyword property of btnHelp to the active page in pcStartup.

Implicit procedure FormShow(Sender: TObject);

FormShow sets the HelpKeyword property of btnHelp to the active page in pcStartup.

Private procedure SetUpGrid;

SetUpGrid sets up the TPhastGrid using the values displayed on tabInitialGrid.

Private procedure SetExaggeration;

Set the vertical exaggeration.


Generated by PasDoc 0.10.0 on 2006-10-31 09:56:38