Class TfrmFreeSurface

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TfrmFreeSurface = class(TfrmCustomGoPhast)

Description

TfrmFreeSurface is used to set options relating to the use of a free surface in PHAST.

See TPhastModel.FreeSurface and TPhastModel.UseWaterTable.

Hierarchy

Overview

Fields

Implicit btnCancel: TBitBtn;
Implicit btnHelp: TBitBtn;
Implicit btnOK: TBitBtn;
Implicit cbFreeSurface: TCheckBox;
Implicit cbWaterTable: TCheckBox;

Methods

Implicit procedure btnOKClick(Sender: TObject);
Implicit procedure cbFreeSurfaceClick(Sender: TObject);
Implicit procedure FormCreate(Sender: TObject); override;
Private procedure GetData;
Private procedure SetData;

Description

Fields

Implicit btnCancel: TBitBtn;

btnCancel: TBitBtn; btnCancel closes the TfrmFreeSurface without making any changes.

Implicit btnHelp: TBitBtn;

btnHelp: TBitBtn; btnHelp shows help for the TfrmFreeSurface.

Implicit btnOK: TBitBtn;

btnOK: TBitBtn; See btnOKClick.

Implicit cbFreeSurface: TCheckBox;

cbFreeSurface: TCheckBox; cbFreeSurface is used to enable or disable the use of a free surface.

Implicit cbWaterTable: TCheckBox;

cbWaterTable: TCheckBox; cbWaterTable is used to enable or disable the user of a water table as the initial condition.

Methods

Implicit procedure btnOKClick(Sender: TObject);

btnOKClick sets the options relating to the use of a free surface in PHAST and closes the dialog box. btnOKClick calls SetData.

Implicit procedure cbFreeSurfaceClick(Sender: TObject);

cbWaterTable should only be enabled if cbFreeSurface is checked.

Implicit procedure FormCreate(Sender: TObject); override;

FormCreate calls GetData.

Private procedure GetData;

GetData retrieves the options relating to a free surface from the model and displays them in the dialog box. See TPhastModel.FreeSurface and TPhastModel.UseWaterTable.

Private procedure SetData;

SetData sets the options relating to a free surface in the model based on what's in the dialog box.. See TPhastModel.FreeSurface and TPhastModel.UseWaterTable.


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