Class TframeScreenObjectNoParam

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TframeScreenObjectNoParam = class(TframeScreenObject)

Description

TframeScreenObjectNoParam is used to define time-varying MODFLOW boundary condition data associated with TScreenObjects when parameter instances can NOT be defined.

Typically, the first two columns of dgModflowBoundary will have the start and ending times for the boundary condtion. Following that will be columns representing the values to be assigned the boundary.

Hierarchy

Overview

Fields

Implicit dgModflowBoundary: TRbwDataGrid4;
Implicit pnlBottom: TPanel;
Implicit seNumberOfTimes: TJvSpinEdit;
Implicit lblNumTimes: TLabel;
Implicit btnDelete: TBitBtn;
Implicit btnInsert: TBitBtn;
Implicit pnlTop: TPanel;
Implicit pnlCaption: TPanel;
Implicit pnlGrid: TPanel;
Implicit pnlEditGrid: TPanel;
Implicit lblFormula: TLabel;
Implicit rdeFormula: TRbwDataEntry;
Private FSelectedText: string;
Private FDeleting: Boolean;
Private FDeletedCells: array of array of boolean;
Public ConductanceColumn: Integer;

Methods

Implicit procedure dgModflowBoundarySelectCell(Sender: TObject; ACol, ARow: Integer; var CanSelect: Boolean);
Implicit procedure seNumberOfTimesChange(Sender: TObject);
Implicit procedure btnDeleteClick(Sender: TObject);
Implicit procedure btnInsertClick(Sender: TObject);
Implicit procedure dgModflowBoundaryMouseUp(Sender: TObject; Button: TMouseButton; Shift: TShiftState; X, Y: Integer);
Implicit procedure rdeFormulaChange(Sender: TObject);
Implicit procedure dgModflowBoundaryHorizontalScroll(Sender: TObject);
Implicit procedure dgModflowBoundaryColSize(Sender: TObject; ACol, PriorWidth: Integer);
Implicit procedure FrameResize(Sender: TObject);
Implicit procedure dgModflowBoundarySetEditText(Sender: TObject; ACol, ARow: Integer; const Value: string);
Implicit procedure dgModflowBoundaryBeforeDrawCell(Sender: TObject; ACol, ARow: Integer);
Private procedure LayoutMultiRowEditControls;
Private function GetDeletedCells(ACol, ARow: integer): boolean;
Private procedure SetDeletedCells(ACol, ARow: integer; const Value: boolean);
Public procedure ClearDeletedCells;
Public function ConductanceCaption(DirectCaption: string): string; virtual;
Public procedure InitializeNoParamFrame( Boundary: TModflowBoundary);
Public constructor Create(AOwner: TComponent); override;
Public destructor Destroy; override;
Public procedure GetStartTimes(Col: integer);
Public procedure GetEndTimes(Col: Integer);
Public procedure SetButtonCaptions;

Properties

Public property DeletedCells[ACol,ARow:integer]: boolean read GetDeletedCells write SetDeletedCells;

Description

Fields

Implicit dgModflowBoundary: TRbwDataGrid4;

dgModflowBoundary is used to indicate the time-varying boundary condition values.

Implicit pnlBottom: TPanel;

pnlBottom holds buttons and controls that affect dgModflowBoundary.

Implicit seNumberOfTimes: TJvSpinEdit;

seNumberOfTimes specifies the number of times at which the parameter is specified and thus the number of rows in dgModflowBoundary.

Implicit lblNumTimes: TLabel;

lblNumTimes labels seNumberOfTimes.

Implicit btnDelete: TBitBtn;

btnDelete deletes one of the times at which the parameter is specified.

Implicit btnInsert: TBitBtn;

btnInsert inserts a new time at which the boundary condition is specified.

Implicit pnlTop: TPanel;
 
Implicit pnlCaption: TPanel;
 
Implicit pnlGrid: TPanel;
 
Implicit pnlEditGrid: TPanel;
 
Implicit lblFormula: TLabel;
 
Implicit rdeFormula: TRbwDataEntry;
 
Private FSelectedText: string;
 
Private FDeleting: Boolean;
 
Private FDeletedCells: array of array of boolean;
 
Public ConductanceColumn: Integer;

Private declarations

Methods

Implicit procedure dgModflowBoundarySelectCell(Sender: TObject; ACol, ARow: Integer; var CanSelect: Boolean);

dgModflowBoundarySelectCell prevents the user from selecting certain cells.

Implicit procedure seNumberOfTimesChange(Sender: TObject);

seNumberOfTimesChange changes the number of rows in dgModflowBoundary and takes other related actions. seNumberOfTimesChange is the OnChange event handler for seNumberOfTimes.

Implicit procedure btnDeleteClick(Sender: TObject);

btnDeleteClick deletes the selected row in dgModflowBoundary. btnDeleteClick is the OnClick eventhandler for btnDelete.

Implicit procedure btnInsertClick(Sender: TObject);

btnInsertClick inserts a new row beneath the selected row in dgModflowBoundary. btnInsertClick is the OnClick eventhandler for btnInsert.

Implicit procedure dgModflowBoundaryMouseUp(Sender: TObject; Button: TMouseButton; Shift: TShiftState; X, Y: Integer);
 
Implicit procedure rdeFormulaChange(Sender: TObject);
 
Implicit procedure dgModflowBoundaryHorizontalScroll(Sender: TObject);
 
Implicit procedure dgModflowBoundaryColSize(Sender: TObject; ACol, PriorWidth: Integer);
 
Implicit procedure FrameResize(Sender: TObject);
 
Implicit procedure dgModflowBoundarySetEditText(Sender: TObject; ACol, ARow: Integer; const Value: string);
 
Implicit procedure dgModflowBoundaryBeforeDrawCell(Sender: TObject; ACol, ARow: Integer);
 
Private procedure LayoutMultiRowEditControls;
 
Private function GetDeletedCells(ACol, ARow: integer): boolean;

See DeletedCells

Private procedure SetDeletedCells(ACol, ARow: integer; const Value: boolean);

See DeletedCells

Public procedure ClearDeletedCells;
 
Public function ConductanceCaption(DirectCaption: string): string; virtual;
 
Public procedure InitializeNoParamFrame( Boundary: TModflowBoundary);
 
Public constructor Create(AOwner: TComponent); override;
 
Public destructor Destroy; override;
 
Public procedure GetStartTimes(Col: integer);

GetStartTimes loads the starting times of all the MODFLOW stress periods into the PickList of the column of dgModflowBoundary specified by Col.

Public procedure GetEndTimes(Col: Integer);

GetEndTimes loads the ending times of all the MODFLOW stress periods into the PickList of the column of dgModflowBoundary specified by Col.

Public procedure SetButtonCaptions;
 

Properties

Public property DeletedCells[ACol,ARow:integer]: boolean read GetDeletedCells write SetDeletedCells;
 

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