Class TfrmUnits

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TfrmUnits = class(TfrmCustomGoPhast)

Description

TfrmUnits is used to edit frmGoPhast.Model.Title and frmGoPhast.Model.Units.

Hierarchy

Overview

Fields

Implicit btnCancel: TBitBtn;
Implicit btnHelp: TBitBtn;
Implicit btnOK: TBitBtn;
Implicit comboDispersivityUnits: TComboBox;
Implicit comboFluxLengthUnits: TComboBox;
Implicit comboFluxTimeUnits: TComboBox;
Implicit comboHeadUnits: TComboBox;
Implicit comboHorizGridUnits: TComboBox;
Implicit comboHydraulicCondLengthUnits: TComboBox;
Implicit comboHydraulicCondTimeUnits: TComboBox;
Implicit comboLeakyHydCondLengthUnits: TComboBox;
Implicit comboLeakyHydCondTimeUnits: TComboBox;
Implicit comboLeakyThicknessUnits: TComboBox;
Implicit comboRiverHydCondLengthUnits: TComboBox;
Implicit comboRiverHydCondTimeUnits: TComboBox;
Implicit comboRiverThicknessUnits: TComboBox;
Implicit comboSpecificStorageUnits: TComboBox;
Implicit comboTimeUnits: TComboBox;
Implicit comboVertGridUnits: TComboBox;
Implicit comboWellDiameterUnits: TComboBox;
Implicit comboWellFlowTimeUnits: TComboBox;
Implicit comboWellFlowVolumeUnits: TComboBox;
Implicit lblDispersivityUnits: TLabel;
Implicit lblFluxLengthUnits: TLabel;
Implicit lblFluxTimeUnits: TLabel;
Implicit lblHeadUnits: TLabel;
Implicit lblHorizGridUnits: TLabel;
Implicit lblHydraulicCondLengthUnits: TLabel;
Implicit lblHydraulicCondTimeUnits: TLabel;
Implicit lblLeakyHydCondLengthUnits: TLabel;
Implicit lblLeakyHydCondTimeUnits: TLabel;
Implicit lblLeakyThicknessUnits: TLabel;
Implicit lblRiverHydCondLengthUnits: TLabel;
Implicit lblRiverHydCondTimeUnits: TLabel;
Implicit lblRiverThicknessUnits: TLabel;
Implicit lblSpecificStorageUnits: TLabel;
Implicit lblTimeUnits: TLabel;
Implicit lblTitle: TLabel;
Implicit lblVertGridUnits: TLabel;
Implicit lblWellDiameterUnits: TLabel;
Implicit lblWellFlowTimeUnits: TLabel;
Implicit lblWellFlowVolumeUnits: TLabel;
Implicit memoTitle: TMemo;

Methods

Implicit procedure btnOKClick(Sender: TObject);
Implicit procedure FormCreate(Sender: TObject); override;
Private procedure GetData;
Private procedure SetData;
Private function ValidateTitle: boolean;

Description

Fields

Implicit btnCancel: TBitBtn;

btnCancel: TBitBtn; Clicking btnCancel closes TfrmUnits without changing anything.

Implicit btnHelp: TBitBtn;

btnHelp: TBitBtn; Clicking btnHelp displays help on TfrmUnits.

Implicit btnOK: TBitBtn;

btnOK: TBitBtn; See btnOKClick.

Implicit comboDispersivityUnits: TComboBox;

comboDispersivityUnits: TComboBox; comboDispersivityUnits is used to specify the units for dispersivity in PHAST.

Implicit comboFluxLengthUnits: TComboBox;

comboFluxLengthUnits: TComboBox; comboFluxLengthUnits is used to specify the length units for flux in PHAST.

Implicit comboFluxTimeUnits: TComboBox;

comboFluxTimeUnits: TComboBox; comboFluxTimeUnits is used to specify the time units for flux in PHAST.

Implicit comboHeadUnits: TComboBox;

comboHeadUnits: TComboBox; comboHeadUnits is used to specify the units for head in PHAST.

Implicit comboHorizGridUnits: TComboBox;

comboHorizGridUnits: TComboBox; comboHorizGridUnits is used to specify the units for the horizontal grid dimension in PHAST.

Implicit comboHydraulicCondLengthUnits: TComboBox;

comboHydraulicCondLengthUnits: TComboBox; comboHydraulicCondLengthUnits is used to specify the length units for hydraulic conductivity in PHAST.

Implicit comboHydraulicCondTimeUnits: TComboBox;

comboHydraulicCondTimeUnits: TComboBox; comboHydraulicCondTimeUnits is used to specify the time units for hydraulic conductivity in PHAST.

Implicit comboLeakyHydCondLengthUnits: TComboBox;

comboLeakyHydCondLengthUnits: TComboBox; comboLeakyHydCondLengthUnits is used to specify the length units for hydraulic conductivity in leaky boundaries PHAST.

Implicit comboLeakyHydCondTimeUnits: TComboBox;

comboLeakyHydCondTimeUnits: TComboBox; comboLeakyHydCondTimeUnits is used to specify the time units for hydraulic conductivity in leaky boundaries PHAST.

Implicit comboLeakyThicknessUnits: TComboBox;

comboLeakyThicknessUnits: TComboBox; comboLeakyThicknessUnits is used to specify the units for thickness in leaky boundaries PHAST.

Implicit comboRiverHydCondLengthUnits: TComboBox;

comboRiverHydCondLengthUnits: TComboBox; comboRiverHydCondLengthUnits is used to specify the length units for hydraulic conductivity in river boundaries PHAST.

Implicit comboRiverHydCondTimeUnits: TComboBox;

comboRiverHydCondTimeUnits: TComboBox; comboRiverHydCondTimeUnits is used to specify the time units for hydraulic conductivity in river boundaries PHAST.

Implicit comboRiverThicknessUnits: TComboBox;

comboRiverThicknessUnits: TComboBox; comboRiverThicknessUnits is used to specify the units for thickness in river boundaries PHAST.

Implicit comboSpecificStorageUnits: TComboBox;

comboSpecificStorageUnits: TComboBox; comboSpecificStorageUnits is used to specify the units for specific storage in PHAST.

Implicit comboTimeUnits: TComboBox;

comboTimeUnits: TComboBox; comboTimeUnits is used to specify the units for time in PHAST.

Implicit comboVertGridUnits: TComboBox;

comboVertGridUnits: TComboBox; comboVertGridUnits is used to specify the units for the vertical grid dimension in PHAST.

Implicit comboWellDiameterUnits: TComboBox;

comboWellDiameterUnits: TComboBox; comboWellDiameterUnits is used to specify the units for well diameter in PHAST.

Implicit comboWellFlowTimeUnits: TComboBox;

comboWellFlowTimeUnits: TComboBox; comboWellFlowTimeUnits is used to specify the time units for the flow rate in well boundaries in PHAST.

Implicit comboWellFlowVolumeUnits: TComboBox;

comboWellFlowVolumeUnits: TComboBox; comboWellFlowVolumeUnits is used to specify the volume units for the flow rate in well boundaries in PHAST.

Implicit lblDispersivityUnits: TLabel;

lblDispersivityUnits: TLabel; lblDispersivityUnits displays "Dispersivity units".

Implicit lblFluxLengthUnits: TLabel;

lblFluxLengthUnits: TLabel; lblFluxLengthUnits displays "Flux units".

Implicit lblFluxTimeUnits: TLabel;

lblFluxTimeUnits: TLabel; lblFluxTimeUnits displays "per".

Implicit lblHeadUnits: TLabel;

lblHeadUnits: TLabel; lblHeadUnits displays "Head units".

Implicit lblHorizGridUnits: TLabel;

lblHorizGridUnits: TLabel; lblHorizGridUnits displays "Horizontal grid units".

Implicit lblHydraulicCondLengthUnits: TLabel;

lblHydraulicCondLengthUnits: TLabel; lblHydraulicCondLengthUnits displays "Hydraulic conductivity units".

Implicit lblHydraulicCondTimeUnits: TLabel;

lblHydraulicCondTimeUnits: TLabel; lblHydraulicCondTimeUnits displays "per".

Implicit lblLeakyHydCondLengthUnits: TLabel;

lblLeakyHydCondLengthUnits: TLabel; lblLeakyHydCondLengthUnits displays "Leaky hydraulic conductivity units".

Implicit lblLeakyHydCondTimeUnits: TLabel;

lblLeakyHydCondTimeUnits: TLabel; lblLeakyHydCondTimeUnits displays "per".

Implicit lblLeakyThicknessUnits: TLabel;

lblLeakyThicknessUnits: TLabel; lblLeakyThicknessUnits displays "Leaky thickness units".

Implicit lblRiverHydCondLengthUnits: TLabel;

lblRiverHydCondLengthUnits: TLabel; lblRiverHydCondLengthUnits displays "River bed hydraulic conductivity units".

Implicit lblRiverHydCondTimeUnits: TLabel;

lblRiverHydCondTimeUnits: TLabel; lblRiverHydCondTimeUnits displays "per".

Implicit lblRiverThicknessUnits: TLabel;

lblRiverThicknessUnits: TLabel; lblRiverThicknessUnits displays "River bed thickness units".

Implicit lblSpecificStorageUnits: TLabel;

lblSpecificStorageUnits: TLabel; lblSpecificStorageUnits displays "Specific storage units".

Implicit lblTimeUnits: TLabel;

lblTimeUnits: TLabel; lblTimeUnits displays "Time units".

Implicit lblTitle: TLabel;

lblTitle: TLabel; lblTitle displays "Title (Only the first two lines will be printed in the output)".

Implicit lblVertGridUnits: TLabel;

lblVertGridUnits: TLabel; lblVertGridUnits displays "Vertical grid units".

Implicit lblWellDiameterUnits: TLabel;

lblWellDiameterUnits: TLabel; lblWellDiameterUnits displays "Well diameter units".

Implicit lblWellFlowTimeUnits: TLabel;

lblWellFlowTimeUnits: TLabel; lblWellFlowTimeUnits displays "per".

Implicit lblWellFlowVolumeUnits: TLabel;

lblWellFlowVolumeUnits: TLabel; lblWellFlowVolumeUnits displays "Well flow rate units".

Implicit memoTitle: TMemo;

memoTitle: TMemo; memoTitle displays the title used in PHAST.

Methods

Implicit procedure btnOKClick(Sender: TObject);

btnOKClick calls ValidateTitle to check that the title is valid. If it is, it calls SetData and closes TfrmUnits.

Implicit procedure FormCreate(Sender: TObject); override;

FormCreate calls GetData.

Private procedure GetData;

GetData displays the frmGoPhast.Model.Title and frmGoPhast.Model.Units in TfrmUnits.

Private procedure SetData;

SetData sets frmGoPhast.Model.Title and frmGoPhast.Model.Units to the values shown in TfrmUnits using a TUndoTitleAndUnits.

Private function ValidateTitle: boolean;

ValidateTitle checks that the title in memoTitle is valid. If not, it displays a warning message and returns false.


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