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 lblNumNodesX: TLabel;
Implicit lblNumNodesY: TLabel;
Implicit lblNumNodesZ: TLabel;
Implicit lblXDist: TLabel;
Implicit lblYDist: TLabel;
Implicit lblZDist: TLabel;
Implicit pcStartup: TPageControl;
Implicit pnlBottom: TPanel;
Implicit rdeColWidth: TRbwDataEntry;
Implicit rdeLayerHeight: TRbwDataEntry;
Implicit rdeNCol: TRbwDataEntry;
Implicit rdeNLay: TRbwDataEntry;
Implicit rdeNRow: TRbwDataEntry;
Implicit rdeRowWidth: TRbwDataEntry;
Implicit rgChoice: TRadioGroup;
Implicit tabInitialGrid: TTabSheet;
Implicit tabModelChoice: TTabSheet;
Implicit btnHelp: TBitBtn;
Implicit tabInitialModflowGrid: TTabSheet;
Implicit gbInitialGridModflow: TGroupBox;
Implicit Label8: TLabel;
Implicit Label9: TLabel;
Implicit Label10: TLabel;
Implicit Label11: TLabel;
Implicit Label12: TLabel;
Implicit rdeModflowRowWidth: TRbwDataEntry;
Implicit rdeModflowColWidth: TRbwDataEntry;
Implicit rdeModflowLayerCount: TRbwDataEntry;
Implicit rdeModflowRowCount: TRbwDataEntry;
Implicit rdeModflowColumnCount: TRbwDataEntry;
Implicit rdgInitialLayers: TRbwDataGrid4;
Implicit frameInitialGridPosition: TframeInitialGridPosition;
Implicit tabInitialSutraMesh: TTabSheet;
Implicit rgMeshType: TRadioGroup;
Implicit frameModelLayers: TframeGrid;
Implicit lblLayerGroups: TLabel;
Implicit rgTransport: TRadioGroup;
Implicit rdgLocation: TRbwDataGrid4;
Implicit lblModelPosition: TLabel;

Methods

Implicit procedure btnDontCreateGridClick(Sender: TObject);
Implicit procedure btnNextClick(Sender: TObject);
Implicit procedure FormCreate(Sender: TObject); override;
Implicit procedure FormShow(Sender: TObject);
Implicit procedure pcStartupChange(Sender: TObject);
Implicit procedure rdeModflowLayerCountChange(Sender: TObject);
Implicit procedure rdgInitialLayersSelectCell(Sender: TObject; ACol, ARow: Integer; var CanSelect: Boolean);
Implicit procedure rdgInitialLayersEndUpdate(Sender: TObject);
Implicit procedure FormClose(Sender: TObject; var Action: TCloseAction);
Implicit procedure frameModelLayersseNumberChange(Sender: TObject);
Implicit procedure frameModelLayersGridEndUpdate(Sender: TObject);
Implicit procedure frameModelLayerssbDeleteClick(Sender: TObject);
Implicit procedure frameModelLayerssbInsertClick(Sender: TObject);
Implicit procedure frameModelLayerssbAddClick(Sender: TObject);
Implicit procedure rgMeshTypeClick(Sender: TObject);
Implicit procedure frameModelLayersGridSelectCell(Sender: TObject; ACol, ARow: Integer; var CanSelect: Boolean);
Private procedure SetUpPhastGrid;
Private procedure SetExaggeration;
Private procedure SetUpModflowGrid;
Private procedure InitializeView(ModelXWidth, ModelYWidth, ModelHeight: Real);
Private procedure SetUpModflowLayers(ColCount, RowCount: Integer; out ModelHeight: Real);
Private procedure SetUpSutraModel;
Protected procedure Loaded; override;

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 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 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 rdeColWidth: TRbwDataEntry;

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

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

Implicit tabInitialModflowGrid: TTabSheet;
 
Implicit gbInitialGridModflow: TGroupBox;
 
Implicit Label8: TLabel;
 
Implicit Label9: TLabel;
 
Implicit Label10: TLabel;
 
Implicit Label11: TLabel;
 
Implicit Label12: TLabel;
 
Implicit rdeModflowRowWidth: TRbwDataEntry;
 
Implicit rdeModflowColWidth: TRbwDataEntry;
 
Implicit rdeModflowLayerCount: TRbwDataEntry;
 
Implicit rdeModflowRowCount: TRbwDataEntry;
 
Implicit rdeModflowColumnCount: TRbwDataEntry;
 
Implicit rdgInitialLayers: TRbwDataGrid4;
 
Implicit frameInitialGridPosition: TframeInitialGridPosition;
 
Implicit tabInitialSutraMesh: TTabSheet;
 
Implicit rgMeshType: TRadioGroup;
 
Implicit frameModelLayers: TframeGrid;
 
Implicit lblLayerGroups: TLabel;
 
Implicit rgTransport: TRadioGroup;
 
Implicit rdgLocation: TRbwDataGrid4;
 
Implicit lblModelPosition: TLabel;
 

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 SetUpPhastGrid. If tabInitialModflowGrid is the active page, btnNextClick sets up the grid using the values displayed on tabInitialModflowGrid by calling SetUpModflowGrid.

Implicit procedure FormCreate(Sender: TObject); override;

FormCreate initializes TfrmStartUp.

Implicit procedure FormShow(Sender: TObject);

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

Implicit procedure pcStartupChange(Sender: TObject);
 
Implicit procedure rdeModflowLayerCountChange(Sender: TObject);
 
Implicit procedure rdgInitialLayersSelectCell(Sender: TObject; ACol, ARow: Integer; var CanSelect: Boolean);
 
Implicit procedure rdgInitialLayersEndUpdate(Sender: TObject);
 
Implicit procedure FormClose(Sender: TObject; var Action: TCloseAction);
 
Implicit procedure frameModelLayersseNumberChange(Sender: TObject);
 
Implicit procedure frameModelLayersGridEndUpdate(Sender: TObject);
 
Implicit procedure frameModelLayerssbDeleteClick(Sender: TObject);
 
Implicit procedure frameModelLayerssbInsertClick(Sender: TObject);
 
Implicit procedure frameModelLayerssbAddClick(Sender: TObject);
 
Implicit procedure rgMeshTypeClick(Sender: TObject);
 
Implicit procedure frameModelLayersGridSelectCell(Sender: TObject; ACol, ARow: Integer; var CanSelect: Boolean);
 
Private procedure SetUpPhastGrid;

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

Private procedure SetExaggeration;

Set the vertical exaggeration.

Private procedure SetUpModflowGrid;
 
Private procedure InitializeView(ModelXWidth, ModelYWidth, ModelHeight: Real);
 
Private procedure SetUpModflowLayers(ColCount, RowCount: Integer; out ModelHeight: Real);
 
Private procedure SetUpSutraModel;
 
Protected procedure Loaded; override;
 

Generated by PasDoc 0.12.1 on 2013-05-13 15:41:40