Class TfrmGoPhast

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TfrmGoPhast = class(TUndoForm)

Description

TfrmGoPhast is the type of frmGoPhast which is the main form of GoPhast.

TfrmGoPhast has tool bars and a menu to control the operation of GoPhast. The main part of the form is occupied by three TframeViews which display top, front, and side views of the model. Most of the user interaction with the spatial data in the model is through the three TframeViews. A status bar sbMain on TfrmGoPhast displays messages to the user.

See frmGoPhast.

Hierarchy

Overview

Fields

Implicit cbControlBar: TControlBar;
Implicit tbarEdit: TToolBar;
Implicit tbCut: TToolButton;
Implicit tbCopy: TToolButton;
Implicit tbPaste: TToolButton;
Implicit tbUndo: TToolButton;
Implicit tbRedo: TToolButton;
Implicit tbarFile: TToolBar;
Implicit tbSave: TToolButton;
Implicit tbOpen: TToolButton;
Implicit tbPrint: TToolButton;
Implicit tbNew: TToolButton;
Implicit tbarEditScreenObjects: TToolBar;
Implicit tbSeparator1: TToolButton;
Implicit tbInsertPoint: TToolButton;
Implicit tbDeleteSegment: TToolButton;
Implicit tbLasso: TToolButton;
Implicit tbSelectPoint: TToolButton;
Implicit tbSelect: TToolButton;
Implicit tbSeparator2: TToolButton;
Implicit tbShowHideObjects: TToolButton;
Implicit tbarView: TToolBar;
Implicit tbZoom: TToolButton;
Implicit tbZoomOut: TToolButton;
Implicit tbZoomIn: TToolButton;
Implicit tbPan: TToolButton;
Implicit tbarEditGrid: TToolBar;
Implicit tbDeleteColumnRow: TToolButton;
Implicit tbMove: TToolButton;
Implicit tbAddVerticalBoundary: TToolButton;
Implicit tbAddHorizontalBoundary: TToolButton;
Implicit tbSubdivide: TToolButton;
Implicit tbGridAngle: TToolButton;
Implicit tbSpacing: TToolButton;
Implicit tbGenerateGrid: TToolButton;
Implicit tbarCreateScreenObject: TToolBar;
Implicit tbStraightLine: TToolButton;
Implicit tbLine: TToolButton;
Implicit tbPolygon: TToolButton;
Implicit tbRectangle: TToolButton;
Implicit tbPoint: TToolButton;
Implicit tbarView3D: TToolBar;
Implicit tbShell: TToolButton;
Implicit tbTopGrid: TToolButton;
Implicit tbFrontGrid: TToolButton;
Implicit tbSideGrid: TToolButton;
Implicit tb3DColors: TToolButton;
Implicit tb3DObjects: TToolButton;
Implicit MostRecentlyUsed: TvRbwMostRecentlyUsed;
Implicit Model1: TMenuItem;
Implicit miModflow: TMenuItem;
Implicit miPhast: TMenuItem;
Implicit acModflowActive: TAction;
Implicit acPhastActive: TAction;
Implicit miNewModflowModel: TMenuItem;
Implicit miNewPHASTModel: TMenuItem;
Implicit acFileNewPhastModel: TAction;
Implicit miLayers: TMenuItem;
Implicit acLayers: TAction;
Implicit miGeneral: TMenuItem;
Implicit tbSelectColRowLayer: TToolButton;
Implicit acSelectColRowLay: TAction;
Implicit miSelectColRowLayer: TMenuItem;
Implicit miTime: TMenuItem;
Implicit miOutputControl: TMenuItem;
Implicit sdModflowInput: TSaveDialog;
Implicit miExport: TMenuItem;
Implicit miExportModflow: TMenuItem;
Implicit WarningsandErrors1: TMenuItem;
Implicit miInvertSelection: TMenuItem;
Implicit miSelectAllTop: TMenuItem;
Implicit acSelectAllFront: TAction;
Implicit acSelectAllSide: TAction;
Implicit miSelectAllFront: TMenuItem;
Implicit miSelectAllSide: TMenuItem;
Implicit miShowGridValues: TMenuItem;
Implicit miPackages: TMenuItem;
Implicit miProgramLocations: TMenuItem;
Implicit N7: TMenuItem;
Implicit miEditGlobalVariables: TMenuItem;
Implicit AddPartstoObject1: TMenuItem;
Implicit tbAddPartsToObject: TToolButton;
Implicit acAddPolygonsToObject: TAction;
Implicit tbSeparator3: TToolButton;
Implicit tbAddLinesToObjects: TToolButton;
Implicit acAddLinesToObject: TAction;
Implicit AddLinesToObject1: TMenuItem;
Implicit tbAddPointsToObject: TToolButton;
Implicit acAddPointsToObject: TAction;
Implicit AddPointstoObject1: TMenuItem;
Implicit ShallAllObjects1: TMenuItem;
Implicit HideAllObjects1: TMenuItem;
Implicit N8: TMenuItem;
Implicit miFilesToArchive: TMenuItem;
Implicit ModflowReference1: TMenuItem;
Implicit miLinkSFRStreams: TMenuItem;
Implicit IntroductoryVideo1: TMenuItem;
Implicit comboZCount: TComboBox;
Implicit miExportShapefile: TMenuItem;
Implicit miModflow2005Model: TMenuItem;
Implicit ilImageList: TImageList;
Implicit miModelResults: TMenuItem;
Implicit miScaleRotateorMoveObjects: TMenuItem;
Implicit miMergeObjects: TMenuItem;
Implicit tbShow2DGrid: TToolButton;
Implicit miShow2DGridlines: TMenuItem;
Implicit splitVertTop: TJvNetscapeSplitter;
Implicit splitVertBottom: TJvNetscapeSplitter;
Implicit splitHoriz: TJvNetscapeSplitter;
Implicit miModflowNameFile: TMenuItem;
Implicit miReverseSelectedObjects: TMenuItem;
Implicit acRunModflow: TAction;
Implicit RestoreDefault2DView1: TMenuItem;
Implicit tbRestoreDefault2DView: TToolButton;
Implicit tbPositionUndo: TToolButton;
Implicit tbPositionRedo: TToolButton;
Implicit acPositionForward: TAction;
Implicit acPositionBackward: TAction;
Implicit miUndoPosition: TMenuItem;
Implicit RedoPosition: TMenuItem;
Implicit miGriddedData: TMenuItem;
Implicit miExportModpath: TMenuItem;
Implicit acExportModpath: TAction;
Implicit sdModpathInput: TSaveDialog;
Implicit miManageFluxObservations: TMenuItem;
Implicit Create1: TMenuItem;
Implicit Edit1: TMenuItem;
Implicit Navigation1: TMenuItem;
Implicit miAllVideos: TMenuItem;
Implicit miShowVideoTips: TMenuItem;
Implicit N2: TMenuItem;
Implicit N9: TMenuItem;
Implicit acExportModelMate: TAction;
Implicit ModelMateFile1: TMenuItem;
Implicit acImportModelMate: TAction;
Implicit odModelMate: TOpenDialog;
Implicit miImportModelMate: TMenuItem;
Implicit miObservationType: TMenuItem;
Implicit miObservations: TMenuItem;
Implicit miPredictions: TMenuItem;
Implicit acEditSelecteObjects: TAction;
Implicit miMF_HydrogeologicUnits: TMenuItem;
Implicit miBatchFileAdditions: TMenuItem;
Implicit miSelectObjectsforEditing: TMenuItem;
Implicit miDisplayDataSetValues: TMenuItem;
Implicit miObjectstoShapefile: TMenuItem;
Implicit miDeleteImage: TMenuItem;
Implicit miPHASTProgramLocation: TMenuItem;
Implicit SurferGridFile1: TMenuItem;
Implicit SampleDEMData1: TMenuItem;
Implicit miZONEBUDGETInputFiles: TMenuItem;
Implicit sdZonebudgetInput: TSaveDialog;
Implicit tbVertexValue: TToolButton;
Implicit acVertexValue: TAction;
Implicit EditVertexValues1: TMenuItem;
Implicit sdModelMate: TSaveDialog;
Implicit menuGridLineChoice: TPopupMenu;
Implicit Showall1: TMenuItem;
Implicit Showexterior1: TMenuItem;
Implicit Showactive1: TMenuItem;
Implicit ShowAll2: TMenuItem;
Implicit Showexterior2: TMenuItem;
Implicit Showactive2: TMenuItem;
Implicit acShowAllGridLines: TAction;
Implicit acShowExteriorGridLines: TAction;
Implicit acShowActiveGridLines: TAction;
Implicit Showactiveedge1: TMenuItem;
Implicit acShowActiveEdge: TAction;
Implicit Showactiveedge2: TMenuItem;
Implicit acRestoreDefault2DView: TAction;
Implicit acExportImage: TAction;
Implicit ExportImage1: TMenuItem;
Implicit miManageParameters: TMenuItem;
Implicit miManageHeadObservations: TMenuItem;
Implicit miContourstoShapefile: TMenuItem;
Implicit sdShapefile: TSaveDialog;
Implicit miShapefile: TMenuItem;
Implicit miPathlinestoShapefile: TMenuItem;
Implicit miEndpointsatStartingLocationstoShapefile: TMenuItem;
Implicit miEndpointsatEndingLocationstoShapefile: TMenuItem;
Implicit miTimeSeriestoShapefile: TMenuItem;
Implicit miDataSetstoCSV: TMenuItem;
Implicit tbShowGridValues: TToolButton;
Implicit acShowGridValues: TAction;
Implicit acModflowLgrActive: TAction;
Implicit miModflowLgr: TMenuItem;
Implicit miChildModels: TMenuItem;
Implicit miASCII_RasterFile: TMenuItem;
Implicit tbImportModelResults: TToolButton;
Implicit acImportModelResults: TAction;
Implicit acRunModflowLgr: TAction;
Implicit sdModflowLgr: TSaveDialog;
Implicit miExportModflowLgr: TMenuItem;
Implicit miInvertSelectedVertices: TMenuItem;
Implicit miSplitSelectedObjects: TMenuItem;
Implicit miMakeSelectedVerticesASeparateObject: TMenuItem;
Implicit miSplitObjectAtSelectedVertices: TMenuItem;
Implicit acUndo: TAction;
Implicit acRedo: TAction;
Implicit miModflowNwt: TMenuItem;
Implicit acModflowNwtActive: TAction;
Implicit acRunModflowNwt: TAction;
Implicit miExportModflowNwt: TMenuItem;
Implicit acMeasure: TAction;
Implicit tbMeasure: TToolButton;
Implicit hntMeasure: TJvHint;
Implicit miMeasure: TMenuItem;
Implicit miLockSelectedObjects: TMenuItem;
Implicit miUnlockSelectedObjects: TMenuItem;
Implicit btnDisplayData: TToolButton;
Implicit acDisplayData: TAction;
Implicit miDisplayData: TMenuItem;
Implicit miClearUndoRedostack: TMenuItem;
Implicit acRunMt3dms: TAction;
Implicit dlgSaveMt3dms: TSaveDialog;
Implicit miRunMt3dms: TMenuItem;
Implicit btnRunModel: TJvArrowButton;
Implicit acExportZoneBudget: TAction;
Implicit pmExportModel: TPopupMenu;
Implicit miExportModpathPopUp: TMenuItem;
Implicit miExportZoneBudgetPopup: TMenuItem;
Implicit miRunMt3dmsPopup: TMenuItem;
Implicit acSutraActive: TAction;
Implicit miSUTRA: TMenuItem;
Implicit acSutraLayers: TAction;
Implicit N10: TMenuItem;
Implicit miSUTRALayerGroups: TMenuItem;
Implicit tlbMesh: TToolBar;
Implicit tbCrossSection: TToolButton;
Implicit acSutraOptions: TAction;
Implicit miSutraOptions: TMenuItem;
Implicit acSutraTimes: TAction;
Implicit miSutraTimes: TMenuItem;
Implicit acRunSutra: TAction;
Implicit sdSutraInput: TSaveDialog;
Implicit acRunSutra1: TMenuItem;
Implicit acSutraOutputControl: TAction;
Implicit miSutraOutputControl: TMenuItem;
Implicit miSutraProgramLocations: TMenuItem;
Implicit acSutraProgramLocations: TAction;
Implicit acImportTprogs: TAction;
Implicit ImportTPROGSBinaryGridFile1: TMenuItem;
Implicit miCustomizeSutraMesh: TMenuItem;
Implicit tbRotateCrossSection: TToolButton;
Implicit acImportSutraModelResults: TAction;
Implicit miMesh: TMenuItem;
Implicit miSpecifyCrossSection: TMenuItem;
Implicit miMeshGenerationControls: TMenuItem;
Implicit miRenumberMesh: TMenuItem;
Implicit tbMoveNodes: TToolButton;
Implicit btnGenerateMesh: TToolButton;
Implicit tlb3dViewMesh: TToolBar;
Implicit acShowTopMesh: TAction;
Implicit acShowFrontMesh: TAction;
Implicit btnShowTopMesh: TToolButton;
Implicit btnShowFrontMesh: TToolButton;
Implicit ShowTopMesh1: TMenuItem;
Implicit ShowFrontMesh1: TMenuItem;
Implicit acNewSutraModel: TAction;
Implicit acNewSutraModel1: TMenuItem;
Implicit btnFishnet: TToolButton;
Implicit acFishnet: TAction;
Implicit miViewMeshInformation1: TMenuItem;
Private FCreateArchive: Boolean;
Private CreateArchiveSet: boolean;
Private FCreatingMainForm: Boolean;
Private miHint: TMenuItemHint;
Private FSaveModelForm: TfrmSaveArchive;
Private FOtherSplitterMoving: Boolean;
Private FSynchronizeCount: integer;
Private FRunModflowForm: TfrmRunModflow;
Private FRunModpathForm: TfrmRunModpath;
Private FRunZoneBudgetForm: TfrmRunZoneBudget;
Private FRunModflow: Boolean;
Private FRunModpath: Boolean;
Private FCreateNewCompositeBudgetFile: boolean;
Private FRunZoneBudget: Boolean;
Private FRunPhastForm: TfrmRunPhast;
Private FRunSutraFrom: TfrmRunPhast;
Private FRunPhast: boolean;
Private FRunSutra: Boolean;
Private FPositionList: TPositionList;
Private FBrowser: string;
Private FStartTime: TDateTime;
Private FFileStream: TFileStream;
Private FFileSize: Int64;
Private FRunModelMateForm: TfrmRunModelMate;
Private FRunModelMate: boolean;
Private FObservationFileName: string;
Private FPredictionFileName: string;
Private FReadingFile: Boolean;
Private FSizeWarningDisplayed: Boolean;
Private FRunModelSelection: Integer;
Private FSupressDrawing: Integer;
Private FLastMoveTime: TDateTime;
Private FRunMt3dmsForm: TfrmRunMt3dms;
Private FRunMt3dms: boolean;
Private FRunModpathModelSelection: integer;
Private FExportModpathShapefileForm: TfrmExportModpathShapefile;
Private FExportModpathShapeFileModelChoice: Integer;
Private FRenumberMethod: integer;
Published acAddColumn: TAction;
Published acAddRow: TAction;
Published acColor: TAction;
Published acColoredGrid: TAction;
Published acCopy: TAction;
Published acCreateLine: TAction;
Published acCreatePoint: TAction;
Published acCreatePolygon: TAction;
Published acCreateRectangle: TAction;
Published acCreateStraightLine: TAction;
Published acCut: TAction;
Published acDeleteColumnRow: TAction;
Published acDeleteSegment: TAction;
Published acEditDataSets: TAction;
Published acEditGridLines: TAction;
Published acEditVerticalExaggeration: TAction;
Published acExit: TAction;
Published acExportPhastInputFile: TAction;
Published acFileNewModflowModel: TAction;
Published acFileOpen: TAction;
Published acFilePrint: TAction;
Published acFileSave: TAction;
Published acFileSaveAs: TAction;
Published acFont: TAction;
Published acGenerateGrid: TAction;
Published acGridAngle: TAction;
Published acGridDragRotate: TAction;
Published acHelpContents: THelpContents;
Published acInsertNode: TAction;
Published acMoveColumnOrRow: TAction;
Published acMoveTo: TAction;
Published acPan: TAction;
Published acPaste: TAction;
Published acRestoreDefaultView: TAction;
Published acSelectAllTop: TAction;
Published acSelectNode: TAction;
Published acSelectObjects: TAction;
Published acSelectWithLasso: TAction;
Published acSetSpacing: TAction;
Published acShow3DObjects: TAction;
Published acShowFrontGrid: TAction;
Published acShowGridShell: TAction;
Published acShowHideObjects: TAction;
Published acShowSideGrid: TAction;
Published acShowTopGrid: TAction;
Published acSmoothGrid: TAction;
Published acSubdivide: TAction;
Published acZoom: TAction;
Published acZoomIn: TAction;
Published acZoomOut: TAction;
Published alActionList: TActionList;
Published cdColorDialog: TColorDialog;
Published dcAddColCursor: TRbwDynamicCursor;
Published dcAddRowCursor: TRbwDynamicCursor;
Published dcMoveColCursor: TRbwDynamicCursor;
Published dcMoveRowCursor: TRbwDynamicCursor;
Published dcSetSpacing: TRbwDynamicCursor;
Published dcSubdivide: TRbwDynamicCursor;
Published fdFontDialog: TFontDialog;
Published frame3DView: Tframe3DView;
Published frameFrontView: TframeView;
Published frameSideView: TframeView;
Published frameTopView: TframeView;
Published ilDisabledImageList: TImageList;
Published mi3D_Colors: TMenuItem;
Published miAbout: TMenuItem;
Published miAddHorizontalGridLine: TMenuItem;
Published miAddVerticalGridLine: TMenuItem;
Published miChemistryOptions: TMenuItem;
Published miColor: TMenuItem;
Published miContents: TMenuItem;
Published miCopy: TMenuItem;
Published miCreateLine: TMenuItem;
Published miCreatePoint: TMenuItem;
Published miCreatePolygon: TMenuItem;
Published miCreateRectangle: TMenuItem;
Published miCreateStraightLine: TMenuItem;
Published miCustomize: TMenuItem;
Published miCut: TMenuItem;
Published miData: TMenuItem;
Published miDeleteGridLine: TMenuItem;
Published miDeleteSegment: TMenuItem;
Published miDragtoRotate: TMenuItem;
Published miEdit: TMenuItem;
Published miEditBitmaps: TMenuItem;
Published miEditDataSet: TMenuItem;
Published miEditGridLines: TMenuItem;
Published miEditSelectedObjects: TMenuItem;
Published miExamples: TMenuItem;
Published miExit: TMenuItem;
Published miExportPhast: TMenuItem;
Published miFile: TMenuItem;
Published miFont: TMenuItem;
Published miFreeSurface: TMenuItem;
Published miGenerateGrid: TMenuItem;
Published miGoTo: TMenuItem;
Published miGrid: TMenuItem;
Published miGridAngle: TMenuItem;
Published miGridOptions: TMenuItem;
Published miHelp: TMenuItem;
Published miHelpOnMainWindow: TMenuItem;
Published miHintDelay: TMenuItem;
Published miImport: TMenuItem;
Published miImportBitmap: TMenuItem;
Published miImportDistributedDatabyZone: TMenuItem;
Published miImportDXFFile: TMenuItem;
Published miImportPoints: TMenuItem;
Published miImportShapefile: TMenuItem;
Published miInsertNode: TMenuItem;
Published miMoveColumnOrRow: TMenuItem;
Published miNew: TMenuItem;
Published miObject: TMenuItem;
Published miOpen: TMenuItem;
Published miPan: TMenuItem;
Published miPaste: TMenuItem;
Published miPrint: TMenuItem;
Published miPrintFrequency: TMenuItem;
Published miPrintInitial: TMenuItem;
Published miRearrangeObjects: TMenuItem;
Published miRedo: TMenuItem;
Published miRestoreDefaultView: TMenuItem;
Published miRulerFormat: TMenuItem;
Published miSave: TMenuItem;
Published miSaveAs: TMenuItem;
Published miSearchForObject: TMenuItem;
Published miSelectAll: TMenuItem;
Published miSelectNodes: TMenuItem;
Published miSelectObjects: TMenuItem;
Published miSelectObjectsByName: TMenuItem;
Published miSelectWithLasso: TMenuItem;
Published miSetSelectedColRowLayer: TMenuItem;
Published miSetSpacing: TMenuItem;
Published miShow3DObjects: TMenuItem;
Published miShowColoredGrid: TMenuItem;
Published miShowFormulaErrors: TMenuItem;
Published miShowFrontGrid: TMenuItem;
Published miShowGridShell: TMenuItem;
Published miShowHideBitmaps: TMenuItem;
Published miShowHideObjects: TMenuItem;
Published miShowSelectedObjects: TMenuItem;
Published miShowSideGrid: TMenuItem;
Published miShowTopGrid: TMenuItem;
Published miSmoothGrid: TMenuItem;
Published miSolutionMethod: TMenuItem;
Published miSteadyFlow: TMenuItem;
Published miSubdivide: TMenuItem;
Published miTimeControl: TMenuItem;
Published miTitleAndUnits: TMenuItem;
Published miUndo: TMenuItem;
Published miVerticalExaggeration: TMenuItem;
Published miView: TMenuItem;
Published miZoom: TMenuItem;
Published miZoomIn: TMenuItem;
Published miZoomOut: TMenuItem;
Published mmMainMenu: TMainMenu;
Published N1: TMenuItem;
Published N3: TMenuItem;
Published N4: TMenuItem;
Published N5: TMenuItem;
Published N6: TMenuItem;
Published odOpenDialog: TOpenDialog;
Published pnlBottom: TPanel;
Published pnlTop: TPanel;
Published sbMain: TStatusBar;
Published sdPhastInput: TSaveDialog;
Published sdSaveDialog: TSaveDialog;
Published timTimer: TTimer;
Private FCanDraw: boolean;
Private FCanEdit: boolean;
Private FClickedRuler: TObject;
Private FCurrentTool: TCustomInteractiveTool;
Private FCursorGrid: TCursorGrid;
Private FCursorX: integer;
Private FCursorY: integer;
Private FFileFormat: TFileFormat;
Private FFrontDiscretizationChanged: boolean;
Private FFrontScreenObjectsChanged: boolean;
Private FPhastModel: TPhastModel;
Private FMovingPanelIndex: integer;
Private FMovingStatusBarPanel: boolean;
Private FOldHeight: integer;
Private FOldWidth: integer;
Private FSideDiscretizationChanged: boolean;
Private FSideScreenObjectsChanged: boolean;
Private FTopDiscretizationChanged: boolean;
Private FTopScreenObjectsChanged: boolean;
Private FIniFile: TMemInifile;
Private FChangingSelection: boolean;
Public FCubeControl: TRbwModelCube;

Methods

Implicit procedure tbUndoClick(Sender: TObject);
Implicit procedure acUndoExecute(Sender: TObject);
Implicit procedure tbRedoClick(Sender: TObject);
Implicit procedure acPhastActiveExecute(Sender: TObject);
Implicit procedure acModflowActiveExecute(Sender: TObject);
Implicit procedure acLayersExecute(Sender: TObject);
Implicit procedure miGeneralClick(Sender: TObject);
Implicit procedure acSelectColRowLayExecute(Sender: TObject);
Implicit procedure miTimeClick(Sender: TObject);
Implicit procedure miOutputControlClick(Sender: TObject);
Implicit procedure miExportModflowClick(Sender: TObject);
Implicit procedure WarningsandErrors1Click(Sender: TObject);
Implicit procedure miInvertSelectionClick(Sender: TObject);
Implicit procedure acSelectAllTopExecute(Sender: TObject);
Implicit procedure acSelectAllFrontExecute(Sender: TObject);
Implicit procedure acSelectAllSideExecute(Sender: TObject);
Implicit procedure acShowGridValuesClick(Sender: TObject);
Implicit procedure miPackagesClick(Sender: TObject);
Implicit procedure miProgramLocationsClick(Sender: TObject);
Implicit procedure miEditGlobalVariablesClick(Sender: TObject);
Implicit procedure acAddPolygonsToObjectExecute(Sender: TObject);
Implicit procedure acAddLinesToObjectExecute(Sender: TObject);
Implicit procedure acAddPointsToObjectExecute(Sender: TObject);
Implicit procedure ShallAllObjects1Click(Sender: TObject);
Implicit procedure HideAllObjects1Click(Sender: TObject);
Implicit procedure miFilesToArchiveClick(Sender: TObject);
Implicit procedure sdSaveDialogClose(Sender: TObject);
Implicit procedure sdSaveDialogShow(Sender: TObject);
Implicit procedure ModflowReference1Click(Sender: TObject);
Implicit procedure miLinkSFRStreamsClick(Sender: TObject);
Implicit procedure IntroductoryVideo1Click(Sender: TObject);
Implicit procedure miExportShapefileClick(Sender: TObject);
Implicit procedure sdSaveDialogTypeChange(Sender: TObject);
Implicit procedure miModelResultsClick(Sender: TObject);
Implicit procedure miScaleRotateorMoveObjectsClick(Sender: TObject);
Implicit procedure miMergeObjectsClick(Sender: TObject);
Implicit procedure miModflowNameFileClick(Sender: TObject);
Implicit procedure miReverseSelectedObjectsClick(Sender: TObject);
Implicit procedure RestoreDefault2DView1Click(Sender: TObject);
Implicit procedure sdModflowInputShow(Sender: TObject);
Implicit procedure sdModflowInputClose(Sender: TObject);
Implicit procedure sdPhastInputShow(Sender: TObject);
Implicit procedure sdPhastInputClose(Sender: TObject);
Implicit procedure acPositionForwardExecute(Sender: TObject);
Implicit procedure acPositionBackwardExecute(Sender: TObject);
Implicit procedure miGriddedDataClick(Sender: TObject);
Implicit procedure sdModpathInputShow(Sender: TObject);
Implicit procedure sdModpathInputClose(Sender: TObject);
Implicit procedure acExportModpathExecute(Sender: TObject);
Implicit procedure miFileClick(Sender: TObject);
Implicit procedure miManageFluxObservationsClick(Sender: TObject);
Implicit procedure miAllVideosClick(Sender: TObject);
Implicit procedure miShowVideoTipsClick(Sender: TObject);
Implicit procedure acCopyExecute(Sender: TObject);
Implicit procedure acCutExecute(Sender: TObject);
Implicit procedure acPasteExecute(Sender: TObject);
Implicit procedure FormActivate(Sender: TObject);
Implicit procedure FormDeactivate(Sender: TObject);
Implicit procedure acExportModelMateExecute(Sender: TObject);
Implicit procedure acImportModelMateExecute(Sender: TObject);
Implicit procedure miObservationsClick(Sender: TObject);
Implicit procedure miMF_HydrogeologicUnitsClick(Sender: TObject);
Implicit procedure miBatchFileAdditionsClick(Sender: TObject);
Implicit procedure miSelectObjectsforEditingClick(Sender: TObject);
Implicit procedure miDisplayDataSetValuesClick(Sender: TObject);
Implicit procedure miObjectstoShapefileClick(Sender: TObject);
Implicit procedure miDeleteImageClick(Sender: TObject);
Implicit procedure miPHASTProgramLocationClick(Sender: TObject);
Implicit procedure SurferGridFile1Click(Sender: TObject);
Implicit procedure sbMainDrawPanel(StatusBar: TStatusBar; Panel: TStatusPanel; const Rect: TRect);
Implicit procedure SampleDEMData1Click(Sender: TObject);
Implicit procedure miZONEBUDGETInputFilesClick(Sender: TObject);
Implicit procedure sdZonebudgetInputShow(Sender: TObject);
Implicit procedure sdZonebudgetInputClose(Sender: TObject);
Implicit procedure acVertexValueExecute(Sender: TObject);
Implicit procedure acExportImageExecute(Sender: TObject);
Implicit procedure miManageParametersClick(Sender: TObject);
Implicit procedure miManageHeadObservationsClick(Sender: TObject);
Implicit procedure sdModelMateShow(Sender: TObject);
Implicit procedure sdModelMateClose(Sender: TObject);
Implicit procedure miContourstoShapefileClick(Sender: TObject);
Implicit procedure miPathlinestoShapefileClick(Sender: TObject);
Implicit procedure miEndpointsatStartingLocationstoShapefileClick(Sender: TObject);
Implicit procedure miEndpointsatEndingLocationstoShapefileClick(Sender: TObject);
Implicit procedure miTimeSeriestoShapefileClick(Sender: TObject);
Implicit procedure miDataSetstoCSVClick(Sender: TObject);
Implicit procedure acModflowLgrActiveExecute(Sender: TObject);
Implicit procedure miChildModelsClick(Sender: TObject);
Implicit procedure miASCII_RasterFileClick(Sender: TObject);
Implicit procedure acRunModflowLgrExecute(Sender: TObject);
Implicit procedure miInvertSelectedVerticesClick(Sender: TObject);
Implicit procedure miSplitSelectedObjectsClick(Sender: TObject);
Implicit procedure miMakeSelectedVerticesASeparateObjectClick(Sender: TObject);
Implicit procedure miSplitObjectAtSelectedVerticesClick(Sender: TObject);
Implicit procedure acModflowNwtActiveExecute(Sender: TObject);
Implicit procedure acRunModflowNwtExecute(Sender: TObject);
Implicit procedure acMeasureExecute(Sender: TObject);
Implicit procedure miLockSelectedObjectsClick(Sender: TObject);
Implicit procedure miUnlockSelectedObjectsClick(Sender: TObject);
Implicit procedure acDisplayDataExecute(Sender: TObject);
Implicit procedure FormMouseWheel(Sender: TObject; Shift: TShiftState; WheelDelta: Integer; MousePos: TPoint; var Handled: Boolean);
Implicit procedure miClearUndoRedostackClick(Sender: TObject);
Implicit procedure acRunMt3dmsExecute(Sender: TObject);
Implicit procedure dlgSaveMt3dmsShow(Sender: TObject);
Implicit procedure dlgSaveMt3dmsClose(Sender: TObject);
Implicit procedure acSutraActiveExecute(Sender: TObject);
Implicit procedure sdShapefileShow(Sender: TObject);
Implicit procedure sdShapefileClose(Sender: TObject);
Implicit procedure acSutraLayersExecute(Sender: TObject);
Implicit procedure tbCrossSectionClick(Sender: TObject);
Implicit procedure acSutraOptionsExecute(Sender: TObject);
Implicit procedure AllowDrawing(Sender: TObject);
Implicit procedure FormShow(Sender: TObject);
Implicit procedure acSutraTimesExecute(Sender: TObject);
Implicit procedure acRunSutraExecute(Sender: TObject);
Implicit procedure acSutraOutputControlExecute(Sender: TObject);
Implicit procedure acSutraProgramLocationsExecute(Sender: TObject);
Implicit procedure acImportTprogsExecute(Sender: TObject);
Implicit procedure sdSutraInputShow(Sender: TObject);
Implicit procedure sdSutraInputClose(Sender: TObject);
Implicit procedure miCustomizeSutraMeshClick(Sender: TObject);
Implicit procedure tbRotateCrossSectionClick(Sender: TObject);
Implicit procedure miSpecifyCrossSectionClick(Sender: TObject);
Implicit procedure miMeshGenerationControlsClick(Sender: TObject);
Implicit procedure miRenumberMeshClick(Sender: TObject);
Implicit procedure tbMoveNodesClick(Sender: TObject);
Implicit procedure acShowTopMeshExecute(Sender: TObject);
Implicit procedure acShowFrontMeshExecute(Sender: TObject);
Implicit procedure acFishnetExecute(Sender: TObject);
Implicit procedure miViewMeshInformation1Click(Sender: TObject);
Private procedure SetCreateArchive(const Value: Boolean);
Private procedure WMMenuSelect(var Msg: TWMMenuSelect); message WM_MENUSELECT;
Private procedure DeleteLastPointInScreenObject;
Private procedure DeleteSelectedNodesOrSelectedScreenObjects;
Private procedure CreatePhastModel;
Private procedure UpdateDisplay(Sender: TObject);
Private procedure UpdatePermanantDialogBoxAppearances;
Private procedure ShowOrHideAllScreenObjects(ShowAll: Boolean);
Private procedure PlayIntroductoryVideo;
Private procedure StoreInitalPosition;
Private procedure ReadModelMateProject(FileName: string; ModelMateProject: TProject);
Private procedure InitializeModflowInputDialog;
Private procedure EnableDeleteImage;
Private procedure CancelCurrentScreenObject;
Private procedure InternalSaveFile(FileName: string);
Private procedure GetProgramLocations(Model: TCustomModel);
Private function TestModpathLocationOK(Model: TCustomModel): Boolean;
Private function TestZoneBudgetLocationOK(Model: TCustomModel): Boolean;
Private procedure MenuItemsSetEnabled(AValue: Boolean);
Private procedure ClearFileSaveDialogBoxNames;
Private procedure HandleCommandLineParameters(FileName: string);
Private procedure ExportFromCommandLine(FileName: string);
Private procedure ImportPvalFile(PValFile: string);
Private procedure ImportGlobalVariablesFile(GloVarFile: string);
Private procedure ExportSutra(ShouldRunSutra: Boolean; const FileName: string);
Published procedure acColorExecute(Sender: TObject);
Published procedure acDeleteColumnRowExecute(Sender: TObject);
Published procedure acEditDataSetsExecute(Sender: TObject);
Published procedure acEditGridLinesExecute(Sender: TObject);
Published procedure acExitExecute(Sender: TObject);
Published procedure acExportPhastInputFileExecute(Sender: TObject);
Published procedure acFileNewModflowModelExecute(Sender: TObject);
Published procedure acFileOpenExecute(Sender: TObject);
Published procedure acFileSaveAsExecute(Sender: TObject);
Published procedure acFileSaveExecute(Sender: TObject);
Published procedure acFontExecute(Sender: TObject);
Published procedure acGenerateGridExecute(Sender: TObject);
Published procedure acGridAngleExecute(Sender: TObject);
Published procedure acHelpContentsExecute(Sender: TObject);
Published procedure acMoveColumnOrRowExecute(Sender: TObject);
Published procedure acMoveToExecute(Sender: TObject);
Published procedure acRestoreDefaultViewExecute(Sender: TObject);
Published procedure acSetSpacingExecute(Sender: TObject);
Published procedure acShowFrontGridExecute(Sender: TObject);
Published procedure acShowGridShellExecute(Sender: TObject);
Published procedure acShowSideGridExecute(Sender: TObject);
Published procedure acShowTopGridExecute(Sender: TObject);
Published procedure acSmoothGridExecute(Sender: TObject);
Published procedure acSubdivideExecute(Sender: TObject);
Published procedure dcAddColCursorDrawCursor(Sender: TObject; const ABitMap, AMask: TBitmap);
Published procedure dcAddRowCursorDrawCursor(Sender: TObject; const ABitMap, AMask: TBitmap);
Published procedure dcMoveColCursorDrawCursor(Sender: TObject; const ABitMap, AMask: TBitmap);
Published procedure dcMoveRowCursorDrawCursor(Sender: TObject; const ABitMap, AMask: TBitmap);
Published procedure dcSetSpacingDrawCursor(Sender: TObject; const ABitMap, AMask: TBitmap);
Published procedure dcSubdivideDrawCursor(Sender: TObject; const ABitMap, AMask: TBitmap);
Published procedure FormClose(Sender: TObject; var Action: TCloseAction);
Published procedure FormCreate(Sender: TObject); override;
Published procedure FormDestroy(Sender: TObject); override;
Published procedure FormResize(Sender: TObject);
Published procedure FormKeyUp(Sender: TObject; var Key: Word; Shift: TShiftState);
Published procedure mi3D_ColorsClick(Sender: TObject);
Published procedure miAboutClick(Sender: TObject);
Published procedure miChemistryOptionsClick(Sender: TObject);
Published procedure miEditBitmapsClick(Sender: TObject);
Published procedure miEditSelectedObjectsClick(Sender: TObject);
Published procedure miExamplesClick(Sender: TObject);
Published procedure miFreeSurfaceClick(Sender: TObject);
Published procedure miGridOptionsClick(Sender: TObject);
Published procedure miHelpOnMainWindowClick(Sender: TObject);
Published procedure miHintDelayClick(Sender: TObject);
Published procedure miImportBitmapClick(Sender: TObject);
Published procedure miImportDistributedDatabyZoneClick(Sender: TObject);
Published procedure miImportDXFFileClick(Sender: TObject);
Published procedure miImportPointsClick(Sender: TObject);
Published procedure miImportShapefileClick(Sender: TObject);
Published procedure miPrintFrequencyClick(Sender: TObject);
Published procedure miPrintInitialClick(Sender: TObject);
Published procedure miRearrangeObjectsClick(Sender: TObject);
Published procedure miRulerFormatClick(Sender: TObject);
Published procedure miSearchForObjectClick(Sender: TObject);
Published procedure miSelectObjectsByNameClick(Sender: TObject);
Published procedure miSetSelectedColRowLayerClick(Sender: TObject);
Published procedure miShowFormulaErrorsClick(Sender: TObject);
Published procedure miShowHideBitmapsClick(Sender: TObject);
Published procedure miShowHideObjectsClick(Sender: TObject);
Published procedure miShowSelectedObjectsClick(Sender: TObject);
Published procedure miSolutionMethodClick(Sender: TObject);
Published procedure miSteadyFlowClick(Sender: TObject);
Published procedure miTimeControlClick(Sender: TObject);
Published procedure miTitleAndUnitsClick(Sender: TObject);
Published procedure miVerticalExaggerationClick(Sender: TObject);
Published procedure miZoomInClick(Sender: TObject);
Published procedure OpenMostRecentlyUsed(Sender: TObject);
Published procedure pnlLowerRightMouseMove(Sender: TObject; Shift: TShiftState; X, Y: Integer);
Published procedure sbMainMouseDown(Sender: TObject; Button: TMouseButton; Shift: TShiftState; X, Y: Integer);
Published procedure sbMainMouseMove(Sender: TObject; Shift: TShiftState; X, Y: Integer);
Published procedure sbMainMouseUp(Sender: TObject; Button: TMouseButton; Shift: TShiftState; X, Y: Integer);
Published procedure sdSaveDialogFilterChange(Sender: TObject; NewIndex: Integer);
Published procedure splitHorizMoved(Sender: TObject);
Published procedure splitVertBottomMoved(Sender: TObject);
Published procedure splitVertTopMoved(Sender: TObject);
Published procedure tb3DColorsClick(Sender: TObject);
Published procedure tb3DObjectsClick(Sender: TObject);
Published procedure tbAddHorizontalBoundaryClick(Sender: TObject);
Published procedure tbAddVerticalBoundaryClick(Sender: TObject);
Published procedure tbDeleteSegmentClick(Sender: TObject);
Published procedure tbGridAngleClick(Sender: TObject);
Published procedure tbInsertPointClick(Sender: TObject);
Published procedure tbLassoClick(Sender: TObject);
Published procedure tbLineClick(Sender: TObject);
Published procedure tbPanClick(Sender: TObject);
Published procedure tbPointClick(Sender: TObject);
Published procedure tbPointMouseDown(Sender: TObject; Button: TMouseButton; Shift: TShiftState; X, Y: Integer);
Published procedure tbPolygonClick(Sender: TObject);
Published procedure tbRectangleClick(Sender: TObject);
Published procedure tbSelectClick(Sender: TObject);
Published procedure tbSelectPointClick(Sender: TObject);
Published procedure tbShellClick(Sender: TObject);
Published procedure tbStraightLineClick(Sender: TObject);
Published procedure tbZoomClick(Sender: TObject);
Published procedure tbZoomOutClick(Sender: TObject);
Published procedure ToolButtonMouseUp(Sender: TObject; Button: TMouseButton; Shift: TShiftState; X, Y: Integer);
Published procedure SetGridLineDrawingChoice(Sender: TObject);
Private function ModelUpToDate(const FileName: string; CorrectDate: TDateTime): boolean;
Private function ModflowUpToDate: boolean;
Private function Mf2005UpToDate: boolean;
Private function MfNwtUpToDate: boolean;
Private function MfLgrUpToDate: boolean;
Private function ModpathUpToDate(Model: TCustomModel): boolean;
Private function ZoneBudgetUpToDate: boolean;
Private function ModelMateUpToDate: boolean;
Private procedure Invalidate3DView(Sender: TObject);
Private procedure GetZoomBox(Sender: TObject; VD: TViewDirection; var ZoomBox: TQrbwZoomBox2);
Private procedure GetCurrentScreenObject (Sender: TObject; VD: TViewDirection; var ScreenObject: TScreenObject);
Private procedure ConvertPoint(Sender: TObject; VD: TViewDirection; const RealPoint: TPoint2D; var ScreenCoordinate: TPoint);
Private procedure ScreenObjectSelectionChange(Sender: TObject);
Private procedure CheckScreenObject(Sender: TObject; ScreenObject: TScreenObject; var IsACurrentScreenObject: boolean);
Private procedure AddMostRecentlyUsedFile(const FileName: string);
Private procedure AdjustToolbarPositions(FirstToolBar, SecondToolBar: TToolBar);
Private procedure BringFormsToFront(Sender: TObject);
Private function CheckModel: boolean;
Private procedure ClearSelectedNodes;
Private procedure DrawAddColRowCursor(const AnImage: TBitmap; Angle: real; const CursorComponent: TRbwDynamicCursor);
Private procedure DrawMoveColRowCursor(const AnImage: TBitmap; Angle: real; const CursorComponent: TRbwDynamicCursor);
Private procedure DrawSubdivideCursor(const AnImage: TBitmap; Angle: real; const CursorComponent: TRbwDynamicCursor);
Private procedure ExportFile(const FileName: string; RunModel: boolean);
Private procedure FillButtonList(AList: TList);
Private function GetPhastGrid: TPhastGrid;
Private function IsOverStatusPanelDivider(const X: integer): boolean;
Private procedure SaveAFile(FileName: string);
Private procedure SelectDefaultButton;
Private procedure SetActionChecked(Sender: TObject);
Private procedure SetButtonsUp(const CurrentButton: TObject);
Private procedure SetCurrentTool(const Value: TCustomInteractiveTool);
Private procedure SetCursorGrid(const Value: TCursorGrid);
Private procedure SetFileFormat(const Value: TFileFormat);
Private procedure SetFrontScreenObjectsChanged(const Value: boolean);
Private procedure SetSideScreenObjectsChanged(const Value: boolean);
Private procedure SetTopScreenObjectsChanged(const Value: boolean);
Private procedure SetZB_Cursors(const ACursor: TCursor);
Private procedure ShowHint(Sender: TObject);
Private function GetModflowGrid: TModflowGrid;
Private function GetGrid: TCustomModelGrid;
Private procedure InvalidateViewOfModel;
Private function GetModelSelection: TModelSelection;
Private procedure SetModelSelection(const Value: TModelSelection);
Private procedure NewPosition(Sender: TObject; NewPosition: TPositionStorage);
Private procedure CheckInternet;
Private procedure SaveModelMateProject;
Private procedure SetChangingSelection(const Value: boolean);
Private procedure OnOpenFile(Sender: TObject);
Private procedure SetCanDraw(const Value: boolean);
Private function GetObservationFileName(SD: TSaveDialog): string;
Private function GetPredictionFileName(SD: TSaveDialog): string;
Private function GetCanDraw: boolean;
Private procedure InitializeModflowLgrInputDialog;
Private procedure DeleteLastPointInRuler;
Private function TestMt3dmsLocationOK(Model: TCustomModel): Boolean;
Private function Mt3dmsUpToDate: boolean;
Private procedure ScreenOnActiveFormChange(Sender: TObject);
Private procedure ExportMt3dFromCommandLine(FileName: string);
Private function GetSutraMesh: TSutraMesh3D;
Protected procedure OnAppIdle(Sender: TObject; var Done: Boolean);
Public procedure UpdateFrontCubeForSutraCrossSection(Sender: TObject);
Public procedure UpdateVerticalExaggeration(VerticalExaggeration: Double);
Public procedure EnableMeshRenumbering;
Public procedure InvalidateImage32AllViews;
Public procedure EnableHufMenuItems;
Public procedure EnableMt3dmsMenuItems;
Public procedure EnableManageFlowObservations;
Public procedure EnableManageHeadObservations;
Public procedure ReadIniFile;
Public procedure WriteIniFile;
Public procedure SynchronizeViews(SourceView: TViewDirection);
Public procedure ReDrawAllViews(Sender: TObject);
Public procedure EnableLinkStreams;
Public procedure AdjustScales;
Public procedure BeginSuppressDrawing;
Public procedure EndSupressDrawing;
Public function DefaultVE: Real;
Public procedure EditScreenObjects;
Public procedure InvalidateDataSets;
Public procedure InvalidateAllViews;
Public procedure InvalidateFront;
Public procedure InvalidateModel;
Public procedure InvalidateSide;
Public procedure InvalidateTop;
Public procedure InitializeView(ModelXWidth, ModelYWidth, ModelHeight: Real);
Public procedure OpenAFile(const FileName: string);
Public function ResetSelectedScreenObjects: boolean;
Public procedure ResizeZoomBoxes(Sender: TObject);
Public procedure ScreenObjectsChanged(Sender: TObject);
Public procedure UpdateDataSetDimensions;
Public procedure UpdateModelSelection;
Public procedure ModelSelectionChange(Sender: TObject);
Public procedure EnableInvertSelection;
Public procedure InvalidateGrid;
Public procedure EnableVisualization;
Public procedure UpdateModelCubeBreaks;

Properties

Private property CreateArchive: Boolean read FCreateArchive write SetCreateArchive;
Protected property FileFormat: TFileFormat read FFileFormat write SetFileFormat;
Public property ChangingSelection: boolean read FChangingSelection write SetChangingSelection;
Public property CanDraw: boolean read GetCanDraw write SetCanDraw;
Public property CanEdit: boolean read FCanEdit write FCanEdit;
Public property ClickedRuler: TObject read FClickedRuler write FClickedRuler;
Public property CurrentTool: TCustomInteractiveTool read FCurrentTool write SetCurrentTool;
Public property CursorGrid: TCursorGrid read FCursorGrid write SetCursorGrid;
Public property CursorX: integer read FCursorX write FCursorX;
Public property CursorY: integer read FCursorY write FCursorY;
Public property FrontDiscretizationChanged: boolean read FFrontDiscretizationChanged write FFrontDiscretizationChanged;
Public property FrontScreenObjectsChanged: boolean read FFrontScreenObjectsChanged write SetFrontScreenObjectsChanged;
Public property Grid: TCustomModelGrid read GetGrid;
Public property SutraMesh: TSutraMesh3D read GetSutraMesh;
Public property IniFile: TMemInifile read FIniFile;
Public property ModflowGrid: TModflowGrid read GetModflowGrid;
Public property PhastModel: TPhastModel read FPhastModel write FPhastModel;
Public property OldHeight: integer read FOldHeight;
Public property OldWidth: integer read FOldWidth;
Public property PhastGrid: TPhastGrid read GetPhastGrid;
Public property SideDiscretizationChanged: boolean read FSideDiscretizationChanged write FSideDiscretizationChanged;
Public property SideScreenObjectsChanged: boolean read FSideScreenObjectsChanged write SetSideScreenObjectsChanged;
Public property TopDiscretizationChanged: boolean read FTopDiscretizationChanged write FTopDiscretizationChanged;
Public property TopScreenObjectsChanged: boolean read FTopScreenObjectsChanged write SetTopScreenObjectsChanged;
Public property ModelSelection: TModelSelection read GetModelSelection write SetModelSelection;
Public property CreateNewCompositeBudgetFile: boolean read FCreateNewCompositeBudgetFile write FCreateNewCompositeBudgetFile;
Public property ObservationFileName[SD:TSaveDialog]: string read GetObservationFileName;
Public property PredictionFileName[SD:TSaveDialog]: string read GetPredictionFileName;

Description

Fields

Implicit cbControlBar: TControlBar;
 
Implicit tbarEdit: TToolBar;
 
Implicit tbCut: TToolButton;
 
Implicit tbCopy: TToolButton;
 
Implicit tbPaste: TToolButton;
 
Implicit tbUndo: TToolButton;
 
Implicit tbRedo: TToolButton;
 
Implicit tbarFile: TToolBar;
 
Implicit tbSave: TToolButton;
 
Implicit tbOpen: TToolButton;
 
Implicit tbPrint: TToolButton;
 
Implicit tbNew: TToolButton;
 
Implicit tbarEditScreenObjects: TToolBar;
 
Implicit tbSeparator1: TToolButton;
 
Implicit tbInsertPoint: TToolButton;
 
Implicit tbDeleteSegment: TToolButton;
 
Implicit tbLasso: TToolButton;
 
Implicit tbSelectPoint: TToolButton;
 
Implicit tbSelect: TToolButton;
 
Implicit tbSeparator2: TToolButton;
 
Implicit tbShowHideObjects: TToolButton;
 
Implicit tbarView: TToolBar;
 
Implicit tbZoom: TToolButton;
 
Implicit tbZoomOut: TToolButton;
 
Implicit tbZoomIn: TToolButton;
 
Implicit tbPan: TToolButton;
 
Implicit tbarEditGrid: TToolBar;
 
Implicit tbDeleteColumnRow: TToolButton;
 
Implicit tbMove: TToolButton;
 
Implicit tbAddVerticalBoundary: TToolButton;
 
Implicit tbAddHorizontalBoundary: TToolButton;
 
Implicit tbSubdivide: TToolButton;
 
Implicit tbGridAngle: TToolButton;
 
Implicit tbSpacing: TToolButton;
 
Implicit tbGenerateGrid: TToolButton;
 
Implicit tbarCreateScreenObject: TToolBar;
 
Implicit tbStraightLine: TToolButton;
 
Implicit tbLine: TToolButton;
 
Implicit tbPolygon: TToolButton;
 
Implicit tbRectangle: TToolButton;
 
Implicit tbPoint: TToolButton;
 
Implicit tbarView3D: TToolBar;
 
Implicit tbShell: TToolButton;
 
Implicit tbTopGrid: TToolButton;
 
Implicit tbFrontGrid: TToolButton;
 
Implicit tbSideGrid: TToolButton;
 
Implicit tb3DColors: TToolButton;
 
Implicit tb3DObjects: TToolButton;
 
Implicit MostRecentlyUsed: TvRbwMostRecentlyUsed;
 
Implicit Model1: TMenuItem;
 
Implicit miModflow: TMenuItem;
 
Implicit miPhast: TMenuItem;
 
Implicit acModflowActive: TAction;
 
Implicit acPhastActive: TAction;
 
Implicit miNewModflowModel: TMenuItem;
 
Implicit miNewPHASTModel: TMenuItem;
 
Implicit acFileNewPhastModel: TAction;
 
Implicit miLayers: TMenuItem;
 
Implicit acLayers: TAction;
 
Implicit miGeneral: TMenuItem;
 
Implicit tbSelectColRowLayer: TToolButton;
 
Implicit acSelectColRowLay: TAction;
 
Implicit miSelectColRowLayer: TMenuItem;
 
Implicit miTime: TMenuItem;
 
Implicit miOutputControl: TMenuItem;
 
Implicit sdModflowInput: TSaveDialog;
 
Implicit miExport: TMenuItem;
 
Implicit miExportModflow: TMenuItem;
 
Implicit WarningsandErrors1: TMenuItem;
 
Implicit miInvertSelection: TMenuItem;
 
Implicit miSelectAllTop: TMenuItem;
 
Implicit acSelectAllFront: TAction;
 
Implicit acSelectAllSide: TAction;
 
Implicit miSelectAllFront: TMenuItem;
 
Implicit miSelectAllSide: TMenuItem;
 
Implicit miShowGridValues: TMenuItem;
 
Implicit miPackages: TMenuItem;
 
Implicit miProgramLocations: TMenuItem;
 
Implicit N7: TMenuItem;
 
Implicit miEditGlobalVariables: TMenuItem;
 
Implicit AddPartstoObject1: TMenuItem;
 
Implicit tbAddPartsToObject: TToolButton;
 
Implicit acAddPolygonsToObject: TAction;
 
Implicit tbSeparator3: TToolButton;
 
Implicit tbAddLinesToObjects: TToolButton;
 
Implicit acAddLinesToObject: TAction;
 
Implicit AddLinesToObject1: TMenuItem;
 
Implicit tbAddPointsToObject: TToolButton;
 
Implicit acAddPointsToObject: TAction;
 
Implicit AddPointstoObject1: TMenuItem;
 
Implicit ShallAllObjects1: TMenuItem;
 
Implicit HideAllObjects1: TMenuItem;
 
Implicit N8: TMenuItem;
 
Implicit miFilesToArchive: TMenuItem;
 
Implicit ModflowReference1: TMenuItem;
 
Implicit miLinkSFRStreams: TMenuItem;
 
Implicit IntroductoryVideo1: TMenuItem;
 
Implicit comboZCount: TComboBox;
 
Implicit miExportShapefile: TMenuItem;
 
Implicit miModflow2005Model: TMenuItem;
 
Implicit ilImageList: TImageList;
 
Implicit miModelResults: TMenuItem;
 
Implicit miScaleRotateorMoveObjects: TMenuItem;
 
Implicit miMergeObjects: TMenuItem;
 
Implicit tbShow2DGrid: TToolButton;
 
Implicit miShow2DGridlines: TMenuItem;
 
Implicit splitVertTop: TJvNetscapeSplitter;

splitVertTop separates frameSideView from frameTopView and can be used to resize them. See splitVertTopMoved.

Implicit splitVertBottom: TJvNetscapeSplitter;

splitVertBottom separates frame3DView from frameFrontView and can be used to resize them. See splitVertBottomMoved.

Implicit splitHoriz: TJvNetscapeSplitter;

splitHoriz separates pnlBottom from pnlTop and can be used to resize them. See splitHorizMoved.

Implicit miModflowNameFile: TMenuItem;
 
Implicit miReverseSelectedObjects: TMenuItem;
 
Implicit acRunModflow: TAction;
 
Implicit RestoreDefault2DView1: TMenuItem;
 
Implicit tbRestoreDefault2DView: TToolButton;
 
Implicit tbPositionUndo: TToolButton;
 
Implicit tbPositionRedo: TToolButton;
 
Implicit acPositionForward: TAction;
 
Implicit acPositionBackward: TAction;
 
Implicit miUndoPosition: TMenuItem;
 
Implicit RedoPosition: TMenuItem;
 
Implicit miGriddedData: TMenuItem;
 
Implicit miExportModpath: TMenuItem;
 
Implicit acExportModpath: TAction;
 
Implicit sdModpathInput: TSaveDialog;
 
Implicit miManageFluxObservations: TMenuItem;
 
Implicit Create1: TMenuItem;
 
Implicit Edit1: TMenuItem;
 
Implicit Navigation1: TMenuItem;
 
Implicit miAllVideos: TMenuItem;
 
Implicit miShowVideoTips: TMenuItem;
 
Implicit N2: TMenuItem;
 
Implicit N9: TMenuItem;
 
Implicit acExportModelMate: TAction;
 
Implicit ModelMateFile1: TMenuItem;
 
Implicit acImportModelMate: TAction;
 
Implicit odModelMate: TOpenDialog;
 
Implicit miImportModelMate: TMenuItem;
 
Implicit miObservationType: TMenuItem;
 
Implicit miObservations: TMenuItem;
 
Implicit miPredictions: TMenuItem;
 
Implicit acEditSelecteObjects: TAction;
 
Implicit miMF_HydrogeologicUnits: TMenuItem;
 
Implicit miBatchFileAdditions: TMenuItem;
 
Implicit miSelectObjectsforEditing: TMenuItem;
 
Implicit miDisplayDataSetValues: TMenuItem;
 
Implicit miObjectstoShapefile: TMenuItem;
 
Implicit miDeleteImage: TMenuItem;
 
Implicit miPHASTProgramLocation: TMenuItem;
 
Implicit SurferGridFile1: TMenuItem;
 
Implicit SampleDEMData1: TMenuItem;
 
Implicit miZONEBUDGETInputFiles: TMenuItem;
 
Implicit sdZonebudgetInput: TSaveDialog;
 
Implicit tbVertexValue: TToolButton;
 
Implicit acVertexValue: TAction;
 
Implicit EditVertexValues1: TMenuItem;
 
Implicit sdModelMate: TSaveDialog;
 
Implicit menuGridLineChoice: TPopupMenu;
 
Implicit Showall1: TMenuItem;
 
Implicit Showexterior1: TMenuItem;
 
Implicit Showactive1: TMenuItem;
 
Implicit ShowAll2: TMenuItem;
 
Implicit Showexterior2: TMenuItem;
 
Implicit Showactive2: TMenuItem;
 
Implicit acShowAllGridLines: TAction;
 
Implicit acShowExteriorGridLines: TAction;
 
Implicit acShowActiveGridLines: TAction;
 
Implicit Showactiveedge1: TMenuItem;
 
Implicit acShowActiveEdge: TAction;
 
Implicit Showactiveedge2: TMenuItem;
 
Implicit acRestoreDefault2DView: TAction;
 
Implicit acExportImage: TAction;
 
Implicit ExportImage1: TMenuItem;
 
Implicit miManageParameters: TMenuItem;
 
Implicit miManageHeadObservations: TMenuItem;
 
Implicit miContourstoShapefile: TMenuItem;
 
Implicit sdShapefile: TSaveDialog;
 
Implicit miShapefile: TMenuItem;
 
Implicit miPathlinestoShapefile: TMenuItem;
 
Implicit miEndpointsatStartingLocationstoShapefile: TMenuItem;
 
Implicit miEndpointsatEndingLocationstoShapefile: TMenuItem;
 
Implicit miTimeSeriestoShapefile: TMenuItem;
 
Implicit miDataSetstoCSV: TMenuItem;
 
Implicit tbShowGridValues: TToolButton;
 
Implicit acShowGridValues: TAction;
 
Implicit acModflowLgrActive: TAction;
 
Implicit miModflowLgr: TMenuItem;
 
Implicit miChildModels: TMenuItem;
 
Implicit miASCII_RasterFile: TMenuItem;
 
Implicit tbImportModelResults: TToolButton;
 
Implicit acImportModelResults: TAction;
 
Implicit acRunModflowLgr: TAction;
 
Implicit sdModflowLgr: TSaveDialog;
 
Implicit miExportModflowLgr: TMenuItem;
 
Implicit miInvertSelectedVertices: TMenuItem;
 
Implicit miSplitSelectedObjects: TMenuItem;
 
Implicit miMakeSelectedVerticesASeparateObject: TMenuItem;
 
Implicit miSplitObjectAtSelectedVertices: TMenuItem;
 
Implicit acUndo: TAction;
 
Implicit acRedo: TAction;
 
Implicit miModflowNwt: TMenuItem;
 
Implicit acModflowNwtActive: TAction;
 
Implicit acRunModflowNwt: TAction;
 
Implicit miExportModflowNwt: TMenuItem;
 
Implicit acMeasure: TAction;
 
Implicit tbMeasure: TToolButton;
 
Implicit hntMeasure: TJvHint;
 
Implicit miMeasure: TMenuItem;
 
Implicit miLockSelectedObjects: TMenuItem;
 
Implicit miUnlockSelectedObjects: TMenuItem;
 
Implicit btnDisplayData: TToolButton;
 
Implicit acDisplayData: TAction;
 
Implicit miDisplayData: TMenuItem;
 
Implicit miClearUndoRedostack: TMenuItem;
 
Implicit acRunMt3dms: TAction;
 
Implicit dlgSaveMt3dms: TSaveDialog;
 
Implicit miRunMt3dms: TMenuItem;
 
Implicit btnRunModel: TJvArrowButton;
 
Implicit acExportZoneBudget: TAction;
 
Implicit pmExportModel: TPopupMenu;
 
Implicit miExportModpathPopUp: TMenuItem;
 
Implicit miExportZoneBudgetPopup: TMenuItem;
 
Implicit miRunMt3dmsPopup: TMenuItem;
 
Implicit acSutraActive: TAction;
 
Implicit miSUTRA: TMenuItem;
 
Implicit acSutraLayers: TAction;
 
Implicit N10: TMenuItem;
 
Implicit miSUTRALayerGroups: TMenuItem;
 
Implicit tlbMesh: TToolBar;
 
Implicit tbCrossSection: TToolButton;
 
Implicit acSutraOptions: TAction;
 
Implicit miSutraOptions: TMenuItem;
 
Implicit acSutraTimes: TAction;
 
Implicit miSutraTimes: TMenuItem;
 
Implicit acRunSutra: TAction;
 
Implicit sdSutraInput: TSaveDialog;
 
Implicit acRunSutra1: TMenuItem;
 
Implicit acSutraOutputControl: TAction;
 
Implicit miSutraOutputControl: TMenuItem;
 
Implicit miSutraProgramLocations: TMenuItem;
 
Implicit acSutraProgramLocations: TAction;
 
Implicit acImportTprogs: TAction;
 
Implicit ImportTPROGSBinaryGridFile1: TMenuItem;
 
Implicit miCustomizeSutraMesh: TMenuItem;
 
Implicit tbRotateCrossSection: TToolButton;
 
Implicit acImportSutraModelResults: TAction;
 
Implicit miMesh: TMenuItem;
 
Implicit miSpecifyCrossSection: TMenuItem;
 
Implicit miMeshGenerationControls: TMenuItem;
 
Implicit miRenumberMesh: TMenuItem;
 
Implicit tbMoveNodes: TToolButton;
 
Implicit btnGenerateMesh: TToolButton;
 
Implicit tlb3dViewMesh: TToolBar;
 
Implicit acShowTopMesh: TAction;
 
Implicit acShowFrontMesh: TAction;
 
Implicit btnShowTopMesh: TToolButton;
 
Implicit btnShowFrontMesh: TToolButton;
 
Implicit ShowTopMesh1: TMenuItem;
 
Implicit ShowFrontMesh1: TMenuItem;
 
Implicit acNewSutraModel: TAction;
 
Implicit acNewSutraModel1: TMenuItem;
 
Implicit btnFishnet: TToolButton;
 
Implicit acFishnet: TAction;
 
Implicit miViewMeshInformation1: TMenuItem;
 
Private FCreateArchive: Boolean;
 
Private CreateArchiveSet: boolean;
 
Private FCreatingMainForm: Boolean;
 
Private miHint: TMenuItemHint;
 
Private FSaveModelForm: TfrmSaveArchive;
 
Private FOtherSplitterMoving: Boolean;
 
Private FSynchronizeCount: integer;
 
Private FRunModflowForm: TfrmRunModflow;
 
Private FRunModpathForm: TfrmRunModpath;
 
Private FRunZoneBudgetForm: TfrmRunZoneBudget;
 
Private FRunModflow: Boolean;
 
Private FRunModpath: Boolean;
 
Private FCreateNewCompositeBudgetFile: boolean;
 
Private FRunZoneBudget: Boolean;
 
Private FRunPhastForm: TfrmRunPhast;
 
Private FRunSutraFrom: TfrmRunPhast;
 
Private FRunPhast: boolean;
 
Private FRunSutra: Boolean;
 
Private FPositionList: TPositionList;
 
Private FBrowser: string;
 
Private FStartTime: TDateTime;
 
Private FFileStream: TFileStream;
 
Private FFileSize: Int64;
 
Private FRunModelMateForm: TfrmRunModelMate;
 
Private FRunModelMate: boolean;
 
Private FObservationFileName: string;
 
Private FPredictionFileName: string;
 
Private FReadingFile: Boolean;
 
Private FSizeWarningDisplayed: Boolean;
 
Private FRunModelSelection: Integer;
 
Private FSupressDrawing: Integer;
 
Private FLastMoveTime: TDateTime;
 
Private FRunMt3dmsForm: TfrmRunMt3dms;
 
Private FRunMt3dms: boolean;
 
Private FRunModpathModelSelection: integer;
 
Private FExportModpathShapefileForm: TfrmExportModpathShapefile;
 
Private FExportModpathShapeFileModelChoice: Integer;
 
Private FRenumberMethod: integer;
 
Published acAddColumn: TAction;

acAddColumn is the TAction for miAddVerticalGridLine and tbAddVerticalBoundary. See tbAddVerticalBoundaryClick.

Published acAddRow: TAction;

acAddRow is the TAction for miAddHorizontalGridLine and tbAddHorizontalBoundary. See tbAddHorizontalBoundaryClick.

Published acColor: TAction;

acColor is the TAction for miColor and tb3DColors. See acColorExecute.

Published acColoredGrid: TAction;

acColoredGrid is the TAction for miShowColoredGrid and tb3DColors. See tb3DColorsClick.

Published acCopy: TAction;

acCopy is the TAction for miCopy and tbCopy. acCopy is not yet used.

Published acCreateLine: TAction;

acCreateLine is the TAction for miCreateLine and tbLine. See tbLineClick.

Published acCreatePoint: TAction;

acCreatePoint is the TAction for miCreatePoint and tbPoint. See tbPointClick.

Published acCreatePolygon: TAction;

acCreatePolygon is the TAction for miCreatePolygon and tbPolygon. See tbPolygonClick.

Published acCreateRectangle: TAction;

acCreateRectangle is the TAction for miCreateRectangle and tbRectangle. See tbRectangleClick.

Published acCreateStraightLine: TAction;

acCreateStraightLine is the TAction for miCreateStraightLine and tbStraightLine. See tbStraightLineClick.

Published acCut: TAction;

acCut is the TAction for miCut and tbCut. acCut is not yet used.

Published acDeleteColumnRow: TAction;

acDeleteColumnRow is the TAction for miDeleteGridLine and tbDeleteColumnRow. See acDeleteColumnRowExecute.

Published acDeleteSegment: TAction;

acDeleteSegment is the TAction for miDeleteSegment and tbDeleteSegment. See tbDeleteSegmentClick.

Published acEditDataSets: TAction;

acEditDataSets is the TAction for miEditDataSet. See acEditDataSetsExecute.

Published acEditGridLines: TAction;

acEditGridLines is the TAction for miEditGridLines. See acEditGridLinesExecute.

Published acEditVerticalExaggeration: TAction;

acEditVerticalExaggeration is the TAction for miVerticalExaggeration. See miVerticalExaggerationClick.

Published acExit: TAction;

acExit is the TAction for miExit. See acExitExecute.

Published acExportPhastInputFile: TAction;

acExportPhastInputFile is the TAction for miExportPhast. See acExportPhastInputFileExecute.

Published acFileNewModflowModel: TAction;
 
Published acFileOpen: TAction;

acFileOpen is the TAction for miOpen and tbOpen. See acFileOpenExecute.

Published acFilePrint: TAction;

acFilePrint is the TAction for miPrint and tbPrint. acFilePrint is not yet used.

Published acFileSave: TAction;

acFileSave is the TAction for miSave and tbSave. See acFileSaveExecute.

Published acFileSaveAs: TAction;

acFileSaveAs is the TAction for miSaveAs. See acFileSaveAsExecute.

Published acFont: TAction;

acFont is the TAction for miFont. See acFontExecute.

Published acGenerateGrid: TAction;

acGenerateGrid is the TAction for miGenerateGrid and tbGenerateGrid. See acGenerateGridExecute.

Published acGridAngle: TAction;

acGridAngle is the TAction for miGridAngle. See acGridAngleExecute.

Published acGridDragRotate: TAction;

acGridDragRotate is the TAction for miDragtoRotate and tbGridAngle. See tbGridAngleClick.

Published acHelpContents: THelpContents;

acHelpContents is the TAction for miContents. See acHelpContentsExecute.

Published acInsertNode: TAction;

acInsertNode is the TAction for miInsertNode and tbInsertPoint. See tbInsertPointClick.

Published acMoveColumnOrRow: TAction;

acMoveColumnOrRow is the TAction for miMoveColumnOrRow and tbMove. See acMoveColumnOrRowExecute.

Published acMoveTo: TAction;

acMoveTo is the TAction for miGoTo. See acMoveToExecute.

Published acPan: TAction;

acPan is the TAction for miPan and tbPan. See tbPanClick.

Published acPaste: TAction;

acPaste is the TAction for miPaste and tbPaste. acPaste is not used yet.

Published acRestoreDefaultView: TAction;

acRestoreDefaultView is the TAction for miRestoreDefaultView. See acRestoreDefaultViewExecute.

Published acSelectAllTop: TAction;
 
Published acSelectNode: TAction;

acSelectNode is the TAction for miSelectNodes and tbSelectPoint. See tbSelectPointClick.

Published acSelectObjects: TAction;

acSelectObjects is the TAction for miSelectObjects and tbSelect. See tbSelectClick.

Published acSelectWithLasso: TAction;

acSelectWithLasso is the TAction for miSelectWithLasso and tbLasso. See tbLassoClick.

Published acSetSpacing: TAction;

acSetSpacing is the TAction for miSetSpacing and tbSpacing. See acSetSpacingExecute.

Published acShow3DObjects: TAction;

acShow3DObjects is the TAction for miShow3DObjects and tb3DObjects. See tb3DObjectsClick.

Published acShowFrontGrid: TAction;

acShowFrontGrid is the TAction for miShowFrontGrid and tbFrontGrid. See acShowFrontGridExecute.

Published acShowGridShell: TAction;

acShowGridShell is the TAction for miShowGridShell and tbShell. See acShowGridShellExecute.

Published acShowHideObjects: TAction;

acShowHideObjects is the action for showing or hiding frmShowHideObjects. See miShowHideObjectsClick.

Published acShowSideGrid: TAction;

acShowSideGrid is the TAction for miShowSideGrid and tbSideGrid. See acShowSideGridExecute.

Published acShowTopGrid: TAction;

acShowTopGrid is the TAction for miShowTopGrid and tbTopGrid. See acShowTopGridExecute.

Published acSmoothGrid: TAction;

acSmoothGrid is the TAction for miSmoothGrid. See acSmoothGridExecute.

Published acSubdivide: TAction;

acSubdivide is the TAction for miSubdivide and tbSubdivide. See acSubdivideExecute.

Published acZoom: TAction;

acZoom is the TAction for miZoom and tbZoom. See tbZoomClick.

Published acZoomIn: TAction;

acZoomIn is the TAction for miZoomIn and tbZoomIn. See miZoomInClick.

Published acZoomOut: TAction;

acZoomOut is the TAction for miZoomOut and tbZoomOut. See tbZoomOutClick.

Published alActionList: TActionList;

alActionList holds the instances of TAction in GoPhast.

Published cdColorDialog: TColorDialog;

cdColorDialog is used to pick the background color for GoPhast in acColorExecute.

Published dcAddColCursor: TRbwDynamicCursor;

dcAddColCursor is used to draw a rotated version of the AddColumn cursor in the top view of the model.

Published dcAddRowCursor: TRbwDynamicCursor;

dcAddRowCursor is used to draw a rotated version of the AddRow cursor in the top view of the model.

Published dcMoveColCursor: TRbwDynamicCursor;

dcMoveColCursor is used to draw a rotated version of the MoveColumn cursor in the top view of the model.

Published dcMoveRowCursor: TRbwDynamicCursor;

dcMoveRowCursor is used to draw a rotated version of the MoveRow cursor in the top view of the model.

Published dcSetSpacing: TRbwDynamicCursor;

dcSetSpacing is used to draw a rotated version of the SetCellSpacing cursor in the top view of the model.

Published dcSubdivide: TRbwDynamicCursor;

dcSubdivide is used to draw a rotated version of the Subdivide cursor in the top view of the model.

Published fdFontDialog: TFontDialog;

fdFontDialog is used to pick the font for GoPhast in acFontExecute.

Published frame3DView: Tframe3DView;

frame3DView displays a 3D view of the model and handles interaction with the 3D view.

Published frameFrontView: TframeView;

frameFrontView displays a front view of the model and handles interaction with the front view.

Published frameSideView: TframeView;

frameSideView displays a side view of the model and handles interaction with the side view.

Published frameTopView: TframeView;

frameTopView displays a top view of the model and handles interaction with the top view.

Published ilDisabledImageList: TImageList;
 
Published mi3D_Colors: TMenuItem;

See mi3D_ColorsClick.

Published miAbout: TMenuItem;

See miAboutClick.

Published miAddHorizontalGridLine: TMenuItem;

See tbAddHorizontalBoundaryClick and acAddRow.

Published miAddVerticalGridLine: TMenuItem;

See tbAddVerticalBoundaryClick and acAddColumn.

Published miChemistryOptions: TMenuItem;

See miChemistryOptionsClick.

Published miColor: TMenuItem;

See acColorExecute and acColor.

Published miContents: TMenuItem;

See acHelpContentsExecute and acHelpContents.

Published miCopy: TMenuItem;

See acCopy.

Published miCreateLine: TMenuItem;

See tbLineClick and acCreateLine.

Published miCreatePoint: TMenuItem;

See tbPointClick and acCreatePoint.

Published miCreatePolygon: TMenuItem;

See tbPolygonClick and acCreatePolygon.

Published miCreateRectangle: TMenuItem;

See tbRectangleClick and acCreateRectangle.

Published miCreateStraightLine: TMenuItem;

See tbStraightLineClick and acCreateStraightLine.

Published miCustomize: TMenuItem;

miCustomize holds the miFont, miColor, miHintDelay, and miRulerFormat menu items.

Published miCut: TMenuItem;

See acCut.

Published miData: TMenuItem;

miData holds the miEditDataSet, miEditGlobalVariables, miDisplayData, miShowGridValues and miDisplayDataSetValues menu items.

Published miDeleteGridLine: TMenuItem;

See acDeleteColumnRowExecute and acDeleteColumnRow.

Published miDeleteSegment: TMenuItem;

See tbDeleteSegmentClick and acDeleteSegment.

Published miDragtoRotate: TMenuItem;

See tbGridAngleClick and acGridDragRotate.

Published miEdit: TMenuItem;

miEdit holds the miUndo, miRedo, miCut, miCopy, miPaste, miSelectAll, miEditBitmaps, and miShowHideBitmaps menu items.

Published miEditBitmaps: TMenuItem;

See miEditBitmapsClick.

Published miEditDataSet: TMenuItem;

See acEditDataSetsExecute and acEditDataSets.

Published miEditGridLines: TMenuItem;

See acEditGridLinesExecute and acEditGridLines.

Published miEditSelectedObjects: TMenuItem;

This TMenuItem [Object|Edit Selected Object(s)], allows the user to edit the properties of the selected objects by displaying the TfrmScreenObjectProperties dialog box.

See also
miEditSelectedObjectsClick
miEditSelectedObjectsClick edits TScreenObjects by calling EditScreenObjects.
Published miExamples: TMenuItem;

The OnClick event for miExamples, miExamplesClick, opens the default web browser with the web page for the instructions for recreating the examples.

Published miExit: TMenuItem;

See acExitExecute and acExit.

Published miExportPhast: TMenuItem;

See acExportPhastInputFileExecute and acExportPhastInputFile.

Published miFile: TMenuItem;

miFile holds the miNew, miOpen, miSave, miSaveAs, miImport, miExport, miPrint, and miExit menu items.

Published miFont: TMenuItem;

See acFontExecute and acFont.

Published miFreeSurface: TMenuItem;

See miFreeSurfaceClick.

Published miGenerateGrid: TMenuItem;

See acGenerateGridExecute and acGenerateGrid.

Published miGoTo: TMenuItem;

See acMoveToExecute and acMoveTo.

Published miGrid: TMenuItem;

miGrid holds the miDeleteGridLine, miMoveColumnOrRow, miAddVerticalGridLine, miAddHorizontalGridLine, miSubdivide, miSetSpacing, miDragtoRotate, miGridAngle, miGenerateGrid, miEditGridLines, miSmoothGrid, and miSetSelectedColRowLayer menu items.

Published miGridAngle: TMenuItem;

See acGridAngleExecute and acGridAngle.

Published miGridOptions: TMenuItem;

See miGridOptionsClick.

Published miHelp: TMenuItem;

miHelp holds the miContents, miHelpOnMainWindow, miExamples, and miAbout menu items.

Published miHelpOnMainWindow: TMenuItem;

miHelpOnMainWindow provides help on the main window of GoPhast.

Published miHintDelay: TMenuItem;

See miHintDelayClick.

Published miImport: TMenuItem;

miImport holds the miImportDistributedDatabyZone, miImportShapefile, miImportDXFFile, and miImportBitmap menu items. miImport is under the miFile menu item.

Published miImportBitmap: TMenuItem;

See miImportBitmapClick.

Published miImportDistributedDatabyZone: TMenuItem;

See miImportDistributedDatabyZoneClick.

Published miImportDXFFile: TMenuItem;

See miImportDXFFileClick.

Published miImportPoints: TMenuItem;

See miImportPointsClick.

Published miImportShapefile: TMenuItem;

See miImportShapefileClick.

Published miInsertNode: TMenuItem;

See tbInsertPointClick and acInsertNode.

Published miMoveColumnOrRow: TMenuItem;

See acMoveColumnOrRowExecute and acMoveColumnOrRow.

Published miNew: TMenuItem;

miNew holds miNewModflowModel and miNewPHASTModel.

Published miObject: TMenuItem;

miObject holds the miSelectObjects, miSelectNodes, miSelectWithLasso, N4, miCreatePoint, miCreateLine, miCreatePolygon, miCreateStraightLine, miCreateRectangle, miInsertNode, miDeleteSegment, miRearrangeObjects, N1, miSearchForObject, miShowSelectedObjects, miShowHideObjects, miSelectObjectsByName, and mi3D_Colors menu items.

Published miOpen: TMenuItem;

See acFileOpenExecute and acFileOpen.

Published miPan: TMenuItem;

See tbPanClick and acPan.

Published miPaste: TMenuItem;

See and acPaste.

Published miPrint: TMenuItem;

See acFilePrint.

Published miPrintFrequency: TMenuItem;

See miPrintFrequencyClick.

Published miPrintInitial: TMenuItem;

See miPrintInitialClick.

Published miRearrangeObjects: TMenuItem;

See miRearrangeObjectsClick.

Published miRedo: TMenuItem;

miRedo is used to redo the users actions. Its OnClick event handler is assigned at runtime in SetUndoMenuItems. .

See also
tbRedo
Published miRestoreDefaultView: TMenuItem;

See acRestoreDefaultViewExecute and acRestoreDefaultView.

Published miRulerFormat: TMenuItem;

See miRulerFormatClick.

Published miSave: TMenuItem;

See acFileSaveExecute and acFileSave.

Published miSaveAs: TMenuItem;

See acFileSaveAsExecute and acFileSaveAs.

Published miSearchForObject: TMenuItem;

See miSearchForObjectClick.

Published miSelectAll: TMenuItem;

miSelectAll is the parent menu item for miSelectAllTop, miSelectAllFront, and miSelectAllSide.

Published miSelectNodes: TMenuItem;

See tbSelectPointClick and acSelectNode.

Published miSelectObjects: TMenuItem;

See tbSelectClick and acSelectObjects.

Published miSelectObjectsByName: TMenuItem;

See miSelectObjectsByNameClick.

Published miSelectWithLasso: TMenuItem;

See tbLassoClick and acSelectWithLasso.

Published miSetSelectedColRowLayer: TMenuItem;

See miSetSelectedColRowLayerClick.

Published miSetSpacing: TMenuItem;

See acSetSpacingExecute and acSetSpacing.

Published miShow3DObjects: TMenuItem;

See tb3DObjectsClick and acShow3DObjects.

Published miShowColoredGrid: TMenuItem;

See tb3DColorsClick and acColoredGrid.

Published miShowFormulaErrors: TMenuItem;

See miShowFormulaErrorsClick.

Published miShowFrontGrid: TMenuItem;

See acShowFrontGridExecute and acShowFrontGrid.

Published miShowGridShell: TMenuItem;

See acShowGridShellExecute and acShowGridShell.

Published miShowHideBitmaps: TMenuItem;

See miShowHideBitmapsClick.

Published miShowHideObjects: TMenuItem;

See miShowHideObjectsClick.

Published miShowSelectedObjects: TMenuItem;

See miShowSelectedObjectsClick.

Published miShowSideGrid: TMenuItem;

See acShowSideGridExecute and acShowSideGrid.

Published miShowTopGrid: TMenuItem;

See acShowTopGridExecute and acShowTopGrid.

Published miSmoothGrid: TMenuItem;

See acSmoothGridExecute and acSmoothGrid.

Published miSolutionMethod: TMenuItem;

See miSolutionMethodClick.

Published miSteadyFlow: TMenuItem;

See miSteadyFlowClick.

Published miSubdivide: TMenuItem;

See acSubdivideExecute and acSubdivide.

Published miTimeControl: TMenuItem;

See miTimeControlClick.

Published miTitleAndUnits: TMenuItem;

See miTitleAndUnitsClick.

Published miUndo: TMenuItem;

miUndo is used to undo the users actions. Its OnClick event handler is assigned at runtime in SetUndoMenuItems.

See also
tbUndo
Published miVerticalExaggeration: TMenuItem;

See miVerticalExaggerationClick and acEditVerticalExaggeration.

Published miView: TMenuItem;

miView holds the miZoom, miZoomIn, miZoomOut, miPan, miGoTo, miVerticalExaggeration, N3, miShowGridShell, miShowTopGrid, miShowFrontGrid, miShowSideGrid, miShowColoredGrid, miShow3DObjects, and miRestoreDefaultView menu items.

Published miZoom: TMenuItem;

See tbZoomClick and acZoom.

Published miZoomIn: TMenuItem;

See miZoomInClick and acZoomIn.

Published miZoomOut: TMenuItem;

See tbZoomOutClick and acZoomOut.

Published mmMainMenu: TMainMenu;

mmMainMenu is the main menu of GoPhast.

Published N1: TMenuItem;

N1 is a divider between menu items.

Published N3: TMenuItem;

N3 is a divider between menu items.

Published N4: TMenuItem;

N4 is a divider between menu items.

Published N5: TMenuItem;

N5 represents a line above the mostly opened files in the File menu.

Published N6: TMenuItem;

N6 represents a line below the mostly opened files in the File menu.

Published odOpenDialog: TOpenDialog;

odOpenDialog is used to open GoPhast files in acFileOpenExecute.

Published pnlBottom: TPanel;

pnlBottom contains the views of the model in the bottom half of the main form.

Published pnlTop: TPanel;

pnlTop contains the views of the model in the top half of the main form.

Published sbMain: TStatusBar;

sbMain is the status bar at the bottom of the TfrmGoPhast.

Published sdPhastInput: TSaveDialog;

sdPhastInput is used when saving the PHAST input file to the disk in acExportPhastInputFileExecute.

Published sdSaveDialog: TSaveDialog;

sdSaveDialog is used to save GoPhast files to disk in acFileSaveAsExecute.

Published timTimer: TTimer;

The OnTimer event handler for timTimer is set to ResizeZoomBoxes in TframeView.ZoomBoxResize.

Private FCanDraw: boolean;

See CanDraw.

Private FCanEdit: boolean;

See CanEdit.

Private FClickedRuler: TObject;

See ClickedRuler.

Private FCurrentTool: TCustomInteractiveTool;

See CurrentTool.

Private FCursorGrid: TCursorGrid;

See CursorGrid.

Private FCursorX: integer;

See CursorX.

Private FCursorY: integer;

See CursorY.

Private FFileFormat: TFileFormat;

See FileFormat.

Private FFrontDiscretizationChanged: boolean;

See FrontDiscretizationChanged.

Private FFrontScreenObjectsChanged: boolean;

See FrontScreenObjectsChanged.

Private FPhastModel: TPhastModel;

See PhastModel.

Private FMovingPanelIndex: integer;

FMovingPanelIndex indicates which boundary between panels on sbMain the mouse was over when it started to drag the panel.

Private FMovingStatusBarPanel: boolean;

FMovingStatusBarPanel indicates whether or not the user is dragging the boundary between two panels on sbMain.

Private FOldHeight: integer;

FOldHeight is set to Height in FormCreate and FormResize. See OldHeight.

Private FOldWidth: integer;

FOldWidth is set to Width in FormCreate and FormResize. See OldWidth.

Private FSideDiscretizationChanged: boolean;

See SideDiscretizationChanged.

Private FSideScreenObjectsChanged: boolean;

See SideScreenObjectsChanged.

Private FTopDiscretizationChanged: boolean;

See TopDiscretizationChanged.

Private FTopScreenObjectsChanged: boolean;

See TopScreenObjectsChanged.

Private FIniFile: TMemInifile;

See IniFile.

Private FChangingSelection: boolean;
 
Public FCubeControl: TRbwModelCube;
 

Methods

Implicit procedure tbUndoClick(Sender: TObject);
 
Implicit procedure acUndoExecute(Sender: TObject);
 
Implicit procedure tbRedoClick(Sender: TObject);
 
Implicit procedure acPhastActiveExecute(Sender: TObject);
 
Implicit procedure acModflowActiveExecute(Sender: TObject);
 
Implicit procedure acLayersExecute(Sender: TObject);
 
Implicit procedure miGeneralClick(Sender: TObject);
 
Implicit procedure acSelectColRowLayExecute(Sender: TObject);
 
Implicit procedure miTimeClick(Sender: TObject);
 
Implicit procedure miOutputControlClick(Sender: TObject);
 
Implicit procedure miExportModflowClick(Sender: TObject);
 
Implicit procedure WarningsandErrors1Click(Sender: TObject);
 
Implicit procedure miInvertSelectionClick(Sender: TObject);
 
Implicit procedure acSelectAllTopExecute(Sender: TObject);
 
Implicit procedure acSelectAllFrontExecute(Sender: TObject);
 
Implicit procedure acSelectAllSideExecute(Sender: TObject);
 
Implicit procedure acShowGridValuesClick(Sender: TObject);
 
Implicit procedure miPackagesClick(Sender: TObject);
 
Implicit procedure miProgramLocationsClick(Sender: TObject);
 
Implicit procedure miEditGlobalVariablesClick(Sender: TObject);
 
Implicit procedure acAddPolygonsToObjectExecute(Sender: TObject);
 
Implicit procedure acAddLinesToObjectExecute(Sender: TObject);
 
Implicit procedure acAddPointsToObjectExecute(Sender: TObject);
 
Implicit procedure ShallAllObjects1Click(Sender: TObject);
 
Implicit procedure HideAllObjects1Click(Sender: TObject);
 
Implicit procedure miFilesToArchiveClick(Sender: TObject);
 
Implicit procedure sdSaveDialogClose(Sender: TObject);
 
Implicit procedure sdSaveDialogShow(Sender: TObject);
 
Implicit procedure ModflowReference1Click(Sender: TObject);
 
Implicit procedure miLinkSFRStreamsClick(Sender: TObject);
 
Implicit procedure IntroductoryVideo1Click(Sender: TObject);
 
Implicit procedure miExportShapefileClick(Sender: TObject);
 
Implicit procedure sdSaveDialogTypeChange(Sender: TObject);
 
Implicit procedure miModelResultsClick(Sender: TObject);
 
Implicit procedure miScaleRotateorMoveObjectsClick(Sender: TObject);
 
Implicit procedure miMergeObjectsClick(Sender: TObject);
 
Implicit procedure miModflowNameFileClick(Sender: TObject);
 
Implicit procedure miReverseSelectedObjectsClick(Sender: TObject);
 
Implicit procedure RestoreDefault2DView1Click(Sender: TObject);
 
Implicit procedure sdModflowInputShow(Sender: TObject);
 
Implicit procedure sdModflowInputClose(Sender: TObject);
 
Implicit procedure sdPhastInputShow(Sender: TObject);
 
Implicit procedure sdPhastInputClose(Sender: TObject);
 
Implicit procedure acPositionForwardExecute(Sender: TObject);
 
Implicit procedure acPositionBackwardExecute(Sender: TObject);
 
Implicit procedure miGriddedDataClick(Sender: TObject);
 
Implicit procedure sdModpathInputShow(Sender: TObject);
 
Implicit procedure sdModpathInputClose(Sender: TObject);
 
Implicit procedure acExportModpathExecute(Sender: TObject);
 
Implicit procedure miFileClick(Sender: TObject);
 
Implicit procedure miManageFluxObservationsClick(Sender: TObject);
 
Implicit procedure miAllVideosClick(Sender: TObject);
 
Implicit procedure miShowVideoTipsClick(Sender: TObject);
 
Implicit procedure acCopyExecute(Sender: TObject);
 
Implicit procedure acCutExecute(Sender: TObject);
 
Implicit procedure acPasteExecute(Sender: TObject);
 
Implicit procedure FormActivate(Sender: TObject);
 
Implicit procedure FormDeactivate(Sender: TObject);
 
Implicit procedure acExportModelMateExecute(Sender: TObject);
 
Implicit procedure acImportModelMateExecute(Sender: TObject);
 
Implicit procedure miObservationsClick(Sender: TObject);
 
Implicit procedure miMF_HydrogeologicUnitsClick(Sender: TObject);
 
Implicit procedure miBatchFileAdditionsClick(Sender: TObject);
 
Implicit procedure miSelectObjectsforEditingClick(Sender: TObject);
 
Implicit procedure miDisplayDataSetValuesClick(Sender: TObject);
 
Implicit procedure miObjectstoShapefileClick(Sender: TObject);
 
Implicit procedure miDeleteImageClick(Sender: TObject);
 
Implicit procedure miPHASTProgramLocationClick(Sender: TObject);
 
Implicit procedure SurferGridFile1Click(Sender: TObject);
 
Implicit procedure sbMainDrawPanel(StatusBar: TStatusBar; Panel: TStatusPanel; const Rect: TRect);
 
Implicit procedure SampleDEMData1Click(Sender: TObject);
 
Implicit procedure miZONEBUDGETInputFilesClick(Sender: TObject);
 
Implicit procedure sdZonebudgetInputShow(Sender: TObject);
 
Implicit procedure sdZonebudgetInputClose(Sender: TObject);
 
Implicit procedure acVertexValueExecute(Sender: TObject);
 
Implicit procedure acExportImageExecute(Sender: TObject);
 
Implicit procedure miManageParametersClick(Sender: TObject);
 
Implicit procedure miManageHeadObservationsClick(Sender: TObject);
 
Implicit procedure sdModelMateShow(Sender: TObject);
 
Implicit procedure sdModelMateClose(Sender: TObject);
 
Implicit procedure miContourstoShapefileClick(Sender: TObject);
 
Implicit procedure miPathlinestoShapefileClick(Sender: TObject);
 
Implicit procedure miEndpointsatStartingLocationstoShapefileClick(Sender: TObject);
 
Implicit procedure miEndpointsatEndingLocationstoShapefileClick(Sender: TObject);
 
Implicit procedure miTimeSeriestoShapefileClick(Sender: TObject);
 
Implicit procedure miDataSetstoCSVClick(Sender: TObject);
 
Implicit procedure acModflowLgrActiveExecute(Sender: TObject);
 
Implicit procedure miChildModelsClick(Sender: TObject);
 
Implicit procedure miASCII_RasterFileClick(Sender: TObject);
 
Implicit procedure acRunModflowLgrExecute(Sender: TObject);
 
Implicit procedure miInvertSelectedVerticesClick(Sender: TObject);
 
Implicit procedure miSplitSelectedObjectsClick(Sender: TObject);
 
Implicit procedure miMakeSelectedVerticesASeparateObjectClick(Sender: TObject);
 
Implicit procedure miSplitObjectAtSelectedVerticesClick(Sender: TObject);
 
Implicit procedure acModflowNwtActiveExecute(Sender: TObject);
 
Implicit procedure acRunModflowNwtExecute(Sender: TObject);
 
Implicit procedure acMeasureExecute(Sender: TObject);
 
Implicit procedure miLockSelectedObjectsClick(Sender: TObject);
 
Implicit procedure miUnlockSelectedObjectsClick(Sender: TObject);
 
Implicit procedure acDisplayDataExecute(Sender: TObject);
 
Implicit procedure FormMouseWheel(Sender: TObject; Shift: TShiftState; WheelDelta: Integer; MousePos: TPoint; var Handled: Boolean);
 
Implicit procedure miClearUndoRedostackClick(Sender: TObject);
 
Implicit procedure acRunMt3dmsExecute(Sender: TObject);
 
Implicit procedure dlgSaveMt3dmsShow(Sender: TObject);
 
Implicit procedure dlgSaveMt3dmsClose(Sender: TObject);
 
Implicit procedure acSutraActiveExecute(Sender: TObject);
 
Implicit procedure sdShapefileShow(Sender: TObject);
 
Implicit procedure sdShapefileClose(Sender: TObject);
 
Implicit procedure acSutraLayersExecute(Sender: TObject);
 
Implicit procedure tbCrossSectionClick(Sender: TObject);
 
Implicit procedure acSutraOptionsExecute(Sender: TObject);
 
Implicit procedure AllowDrawing(Sender: TObject);
 
Implicit procedure FormShow(Sender: TObject);
 
Implicit procedure acSutraTimesExecute(Sender: TObject);
 
Implicit procedure acRunSutraExecute(Sender: TObject);
 
Implicit procedure acSutraOutputControlExecute(Sender: TObject);
 
Implicit procedure acSutraProgramLocationsExecute(Sender: TObject);
 
Implicit procedure acImportTprogsExecute(Sender: TObject);
 
Implicit procedure sdSutraInputShow(Sender: TObject);
 
Implicit procedure sdSutraInputClose(Sender: TObject);
 
Implicit procedure miCustomizeSutraMeshClick(Sender: TObject);
 
Implicit procedure tbRotateCrossSectionClick(Sender: TObject);
 
Implicit procedure miSpecifyCrossSectionClick(Sender: TObject);
 
Implicit procedure miMeshGenerationControlsClick(Sender: TObject);
 
Implicit procedure miRenumberMeshClick(Sender: TObject);
 
Implicit procedure tbMoveNodesClick(Sender: TObject);
 
Implicit procedure acShowTopMeshExecute(Sender: TObject);
 
Implicit procedure acShowFrontMeshExecute(Sender: TObject);
 
Implicit procedure acFishnetExecute(Sender: TObject);
 
Implicit procedure miViewMeshInformation1Click(Sender: TObject);
 
Private procedure SetCreateArchive(const Value: Boolean);
 
Private procedure WMMenuSelect(var Msg: TWMMenuSelect); message WM_MENUSELECT;
 
Private procedure DeleteLastPointInScreenObject;

DeleteLastPointInScreenObject deletes the last point the the current TScreenObject. If there is no current TScreenObject, it deletes the selected TScreenObject(s).

Private procedure DeleteSelectedNodesOrSelectedScreenObjects;

DeleteSelectedNodesOrSelectedScreenObjects deletes the selected TScreenObject(s).

Private procedure CreatePhastModel;
 
Private procedure UpdateDisplay(Sender: TObject);
 
Private procedure UpdatePermanantDialogBoxAppearances;
 
Private procedure ShowOrHideAllScreenObjects(ShowAll: Boolean);
 
Private procedure PlayIntroductoryVideo;
 
Private procedure StoreInitalPosition;
 
Private procedure ReadModelMateProject(FileName: string; ModelMateProject: TProject);
 
Private procedure InitializeModflowInputDialog;
 
Private procedure EnableDeleteImage;
 
Private procedure CancelCurrentScreenObject;
 
Private procedure InternalSaveFile(FileName: string);
 
Private procedure GetProgramLocations(Model: TCustomModel);
 
Private function TestModpathLocationOK(Model: TCustomModel): Boolean;
 
Private function TestZoneBudgetLocationOK(Model: TCustomModel): Boolean;
 
Private procedure MenuItemsSetEnabled(AValue: Boolean);
 
Private procedure ClearFileSaveDialogBoxNames;
 
Private procedure HandleCommandLineParameters(FileName: string);
 
Private procedure ExportFromCommandLine(FileName: string);
 
Private procedure ImportPvalFile(PValFile: string);
 
Private procedure ImportGlobalVariablesFile(GloVarFile: string);
 
Private procedure ExportSutra(ShouldRunSutra: Boolean; const FileName: string);
 
Published procedure acColorExecute(Sender: TObject);

acColorExecute changes the background color of GoPhast.

Published procedure acDeleteColumnRowExecute(Sender: TObject);

acDeleteColumnRowExecute sets CurrentTool to DeleteGridBoundaryTool.

Published procedure acEditDataSetsExecute(Sender: TObject);

acEditDataSetsExecute allows the user to edit data sets by showing TfrmDataSets.

Published procedure acEditGridLinesExecute(Sender: TObject);

acEditGridLinesExecute allows the user to edit grid lines by showing TfrmGridSpacing.

Published procedure acExitExecute(Sender: TObject);

acExitExecute closes GoPhast.

Published procedure acExportPhastInputFileExecute(Sender: TObject);

acExportPhastInputFileExecute exports the transport input file for PHAST.

Published procedure acFileNewModflowModelExecute(Sender: TObject);

acFileNewModflowModelExecute creates a new model.

Published procedure acFileOpenExecute(Sender: TObject);

acFileOpenExecute reads an existing file from the disk.

Published procedure acFileSaveAsExecute(Sender: TObject);

acFileSaveAsExecute saves a file to the disk with a user-specified name.

Published procedure acFileSaveExecute(Sender: TObject);

acFileSaveExecute saves a file to the disk with the existing file name.

Published procedure acFontExecute(Sender: TObject);

acFontExecute sets the font of GoPhast.

Published procedure acGenerateGridExecute(Sender: TObject);

acGenerateGridExecute generates a grid by showing TfrmGenerateGrid.

Published procedure acGridAngleExecute(Sender: TObject);

acGridAngleExecute allows the user to set the grid angle using TfrmGridAngle.

Published procedure acHelpContentsExecute(Sender: TObject);

acHelpContentsExecute looks for help for HelpKeyword. Displays the Help contents for GoPhast.

Published procedure acMoveColumnOrRowExecute(Sender: TObject);

acMoveColumnOrRowExecute sets CurrentTool to MovingGridBoundaryTool.

Published procedure acMoveToExecute(Sender: TObject);

acMoveToExecute allows the user to move to a location, object, cell or element by showing TfrmGoTo.

Published procedure acRestoreDefaultViewExecute(Sender: TObject);

acRestoreDefaultViewExecute restores the 3D view to its default orientation and magnification.

Published procedure acSetSpacingExecute(Sender: TObject);

acSetSpacingExecute sets CurrentTool to SpacingGridTool.

Published procedure acShowFrontGridExecute(Sender: TObject);

acShowFrontGridExecute allows the user to show or hide the front grid in the 3D view.

Published procedure acShowGridShellExecute(Sender: TObject);

acShowGridShellExecute allows the user to show or hide the grid shell in the 3D view.

Published procedure acShowSideGridExecute(Sender: TObject);

acShowSideGridExecute allows the user to show or hide the side grid in the 3D view.

Published procedure acShowTopGridExecute(Sender: TObject);

acShowTopGridExecute allows the user to show or hide the top grid in the 3D view.

Published procedure acSmoothGridExecute(Sender: TObject);

acSmoothGridExecute allows the user to adjust row, column, or layer widths by showing TfrmSmoothGrid.

Published procedure acSubdivideExecute(Sender: TObject);

acSubdivideExecute sets CurrentTool to SubdivideGridTool.

Published procedure dcAddColCursorDrawCursor(Sender: TObject; const ABitMap, AMask: TBitmap);

dcAddColCursorDrawCursor is used to draw a rotated version of the AddColumn cursor in the top view of the model.

Published procedure dcAddRowCursorDrawCursor(Sender: TObject; const ABitMap, AMask: TBitmap);

dcAddRowCursorDrawCursor is used to draw a rotated version of the AddRow cursor in the top view of the model.

Published procedure dcMoveColCursorDrawCursor(Sender: TObject; const ABitMap, AMask: TBitmap);

dcMoveColCursorDrawCursor is used to draw a rotated version of the MoveColumn cursor in the top view of the model.

Published procedure dcMoveRowCursorDrawCursor(Sender: TObject; const ABitMap, AMask: TBitmap);

dcMoveRowCursorDrawCursor is used to draw a rotated version of the MoveRow cursor in the top view of the model.

Published procedure dcSetSpacingDrawCursor(Sender: TObject; const ABitMap, AMask: TBitmap);

dcSetSpacingDrawCursor is used to draw a rotated version of the SetCellSpacing cursor in the top view of the model.

Published procedure dcSubdivideDrawCursor(Sender: TObject; const ABitMap, AMask: TBitmap);

dcSubdivideDrawCursor is used to draw a rotated version of the Subdivide cursor in the top view of the model.

Published procedure FormClose(Sender: TObject; var Action: TCloseAction);

FormClose checks that the model has closed and allows the user an chance to save it if it hasn't been saved.

Published procedure FormCreate(Sender: TObject); override;

FormCreate does the following 1. It creates the observer list which is used to notify objects when they are out of date. 2. It creates an initial model. 3. It adds PHAST specific functions to each TRbwParser. 4. It sets up the initial view of the model. 5. It update the cursors. 6. It sets some properties of the Application object.

Published procedure FormDestroy(Sender: TObject); override;

FormDestroy cleans up by destroying the model and other objects.

Published procedure FormResize(Sender: TObject);

When the form is resized, synchronize the rulers with the views of the model.

Published procedure FormKeyUp(Sender: TObject; var Key: Word; Shift: TShiftState);

FormKeyUp responds to the Escape, Return, Delete, PageUp, PageDown and arrow keys.

  • Escape: delete the last point in a TScreenObject that is being created.

  • Return: finish any TScreenObjects.

  • Delete: delete the selected TScreenObject or the selected vertices in the selected TScreenObject.

  • Left arrow: increase the selected column.

  • Right arrow: decrease the selected column.

  • Up arrow: increase the selected row.

  • Down arrow: decrease the selected row.

  • Page Up: increase the selected layer.

  • Page Down: decrease the selected layer.

FormKeyUp also implements the shortcuts of the TMenuItems. It should not need to do that; CLX should do it but does not.

Published procedure mi3D_ColorsClick(Sender: TObject);

mi3D_ColorsClick shows frmColors to allow the user to specify the color of the light in the 3D view.

Published procedure miAboutClick(Sender: TObject);

miAboutClick shows the About form for GoPhast. See link(frmAbout) and TfrmAbout.

Published procedure miChemistryOptionsClick(Sender: TObject);

miChemistryOptionsClick allows the user to set the options related to chemistry in PHAST via TfrmChemistryOptions.

Published procedure miEditBitmapsClick(Sender: TObject);

miEditBitmapsClick allows the user to edit the position of bitmaps in GoPhast via TfrmImportBitmap.

Published procedure miEditSelectedObjectsClick(Sender: TObject);

miEditSelectedObjectsClick edits TScreenObjects by calling EditScreenObjects.

See also
miEditSelectedObjects
This TMenuItem [Object|Edit Selected Object(s)], allows the user to edit the properties of the selected objects by displaying the TfrmScreenObjectProperties dialog box.
Published procedure miExamplesClick(Sender: TObject);

See miExamples

Published procedure miFreeSurfaceClick(Sender: TObject);

miFreeSurfaceClick allows the user to set the options related to a free surface in PHAST via TfrmFreeSurface.

Published procedure miGridOptionsClick(Sender: TObject);

miGridOptionsClick allows the user to set the options related to the grid in PHAST via TfrmPhastGridOptions.

Published procedure miHelpOnMainWindowClick(Sender: TObject);

See miHelpOnMainWindow.

Published procedure miHintDelayClick(Sender: TObject);

miHintDelayClick allows the user to adjust how long hints should be visible in GoPhast via TfrmHintDelay.

Published procedure miImportBitmapClick(Sender: TObject);

miImportBitmapClick allows the user to import bitmaps into GoPhast via TfrmImportBitmap.

Published procedure miImportDistributedDatabyZoneClick(Sender: TObject);

miImportDistributedDatabyZoneClick allows the user to import zones from an existing PHAST model into GoPhast via TfrmImportDistributedData.

Published procedure miImportDXFFileClick(Sender: TObject);

miImportDXFFileClick allows the user to import DXF files into GoPhast via TfrmImportDXF.

Published procedure miImportPointsClick(Sender: TObject);

miImportPointsClick is used to import scattered point data.

Published procedure miImportShapefileClick(Sender: TObject);

miImportShapefileClick allows the user to import Shapefiles into GoPhast via TfrmImportShapefile.

Published procedure miPrintFrequencyClick(Sender: TObject);

miPrintFrequencyClick allows the user to set the options related to the print frequency in PHAST via TfrmPrintFrequency.

Published procedure miPrintInitialClick(Sender: TObject);

miPrintInitialClick allows the user to set the options related to the initial printing in PHAST via TfrmPrintInitial.

Published procedure miRearrangeObjectsClick(Sender: TObject);

miRearrangeObjectsClick allows the user to change the order of objects in GoPhast via TfrmRearrangeObjects.

Published procedure miRulerFormatClick(Sender: TObject);

miRulerFormatClick allows the user to change the format of the rulers in GoPhast via TfrmRulerOptions.

Published procedure miSearchForObjectClick(Sender: TObject);

miSearchForObjectClick allows the user to select an object based on what it does in GoPhast via TfrmSearch.

Published procedure miSelectObjectsByNameClick(Sender: TObject);

miSelectObjectsByNameClick allows the user to select an object based on its name in GoPhast via TfrmSelectObjects.

Published procedure miSetSelectedColRowLayerClick(Sender: TObject);

miSetSelectedColRowLayerClick allows the user to change the selected column, row, or layer in GoPhast via TfrmSelectColRowLayer.

Published procedure miShowFormulaErrorsClick(Sender: TObject);

miShowFormulaErrorsClick allows the user to see errors in formulas in GoPhast via frmFormulaErrors and TfrmFormulaErrors.

Published procedure miShowHideBitmapsClick(Sender: TObject);

miShowHideBitmapsClick allows the user to show or hide bitmaps in GoPhast via TfrmShowHideBitmaps.

Published procedure miShowHideObjectsClick(Sender: TObject);

miShowHideObjectsClick allows the user to show or hide TScreenObjects in GoPhast via TfrmShowHideObjects.

Published procedure miShowSelectedObjectsClick(Sender: TObject);

miShowSelectedObjectsClick allows the user to see the names of the selected TScreenObjects in GoPhast via frmSelectedObjects and TfrmSelectedObjects.

Published procedure miSolutionMethodClick(Sender: TObject);

miSolutionMethodClick allows the user to set the options related to the solution method in PHAST via TfrmSolutionMethod.

Published procedure miSteadyFlowClick(Sender: TObject);

miSteadyFlowClick allows the user to set the options related to steady flow in PHAST via TfrmSteadyFlow.

Published procedure miTimeControlClick(Sender: TObject);

miTimeControlClick allows the user to set the options related to time control in PHAST via TfrmTimeControl.

Published procedure miTitleAndUnitsClick(Sender: TObject);

miTitleAndUnitsClick allows the user to set the title and units in PHAST via TfrmUnits.

Published procedure miVerticalExaggerationClick(Sender: TObject);

miVerticalExaggerationClick allows the user to change the vertical exaggeration of the model. in GoPhast via TfrmVerticalExaggeration.

Published procedure miZoomInClick(Sender: TObject);

miZoomInClick allows the user to zoom in to a particular region. miZoomInClick sets CurrentTool to ZoomInTool.

Published procedure OpenMostRecentlyUsed(Sender: TObject);

OpenMostRecentlyUsed is the event handler for the menu items created by MostRecentlyUsed.

Published procedure pnlLowerRightMouseMove(Sender: TObject; Shift: TShiftState; X, Y: Integer);

pnlLowerRightMouseMove is used as the OnMouseMove event handler for most components. It sets CursorGrid to cgNone;

Published procedure sbMainMouseDown(Sender: TObject; Button: TMouseButton; Shift: TShiftState; X, Y: Integer);

If the cursor is over one of the dividers between panels on sbMain when the MouseDown event occurs, sbMainMouseDown starts moving the divider.

Published procedure sbMainMouseMove(Sender: TObject; Shift: TShiftState; X, Y: Integer);

When the cursor is over one of the dividers between panels in sbMain or when the divider is being moved, sbMainMouseMove uses crMoveColumn as the cursor. Otherwise it, uses crDefault.

Published procedure sbMainMouseUp(Sender: TObject; Button: TMouseButton; Shift: TShiftState; X, Y: Integer);

If the user is moving the dividers between two panels on sbMain, sbMainMouseUp moves the divider in the MouseUp event handler.

Published procedure sdSaveDialogFilterChange(Sender: TObject; NewIndex: Integer);

sdSaveDialogFilterChange sets FileFormat based on the filter that the user has selected in sdSaveDialog.

Published procedure splitHorizMoved(Sender: TObject);

This procedure keeps the rulers updated when the horizontal splitter separating the upper and lower halves of the main window is moved.

Published procedure splitVertBottomMoved(Sender: TObject);

One vertical splitter separates the top and side views. Another separates the bottom and blank panel. This procedure updates the upper one when the lower one is moved.

Published procedure splitVertTopMoved(Sender: TObject);

One vertical splitter separates the top and side views. Another separates the bottom and blank panel. This procedure updates the lower one when the upper one is moved.

Published procedure tb3DColorsClick(Sender: TObject);

tb3DColorsClick shows or hides the colors of the selected TDataArray in the 3D view of the model.

Published procedure tb3DObjectsClick(Sender: TObject);

tb3DObjectsClick shows or hides the colors of the TScreenObjects in the 3D view of the model.

Published procedure tbAddHorizontalBoundaryClick(Sender: TObject);

tbAddHorizontalBoundaryClick allows the user to add a horizontal boundary to the grid. tbAddHorizontalBoundaryClick sets CurrentTool to AddGridBoundaryTool.

Published procedure tbAddVerticalBoundaryClick(Sender: TObject);

tbAddVerticalBoundaryClick allows the user to add a vertical boundary to the grid. tbAddVerticalBoundaryClick sets CurrentTool to AddGridBoundaryTool.

Published procedure tbDeleteSegmentClick(Sender: TObject);

tbDeleteSegmentClick allows the user to delete a segment of a TScreenObject tbDeleteSegmentClick sets CurrentTool to DeleteSegmentTool.

Published procedure tbGridAngleClick(Sender: TObject);

tbGridAngleClick allows the user to rotate the grid tbGridAngleClick sets CurrentTool to RotateGridTool.

Published procedure tbInsertPointClick(Sender: TObject);

tbInsertPointClick allows the user to insert a point in a TScreenObject tbInsertPointClick sets CurrentTool to InsertPointTool.

Published procedure tbLassoClick(Sender: TObject);

tbLassoClick allows the user to TScreenObjects by dragging a line around them. tbLassoClick sets CurrentTool to LassoTool.

Published procedure tbLineClick(Sender: TObject);

tbLineClick allows the user to create a line TScreenObject. tbLineClick sets CurrentTool to CreateLineScreenObjectTool.

Published procedure tbPanClick(Sender: TObject);

tbPanClick allows the user to start panning. tbPanClick sets CurrentTool to PanTool.

Published procedure tbPointClick(Sender: TObject);

tbPointClick allows the user to create a point TScreenObject. tbPointClick sets CurrentTool to CreatePointScreenObjectTool.

Published procedure tbPointMouseDown(Sender: TObject; Button: TMouseButton; Shift: TShiftState; X, Y: Integer);

tbPointMouseDown makes sure all buttons except the current one are up.

Parameters
Sender
is the TToolButton that has been depressed.
Published procedure tbPolygonClick(Sender: TObject);

tbPolygonClick allows the user to create a polygon TScreenObject. tbPolygonClick sets CurrentTool to CreateLineScreenObjectTool.

Published procedure tbRectangleClick(Sender: TObject);

tbRectangleClick allows the user to create a rectangle TScreenObject. tbRectangleClick sets CurrentTool to CreateRectangleScreenObjectTool.

Published procedure tbSelectClick(Sender: TObject);

tbSelectClick allows the user to select a TScreenObject by clicking on it. tbSelectClick sets CurrentTool to SelectScreenObjectTool.

Published procedure tbSelectPointClick(Sender: TObject);

tbSelectPointClick allows the user to select a node in a TScreenObject by clicking on it. tbSelectPointClick sets CurrentTool to SelectPointTool.

Published procedure tbShellClick(Sender: TObject);

tbShellClick shows or hides the grid shell in the 3D view of the model.

Published procedure tbStraightLineClick(Sender: TObject);

tbStraightLineClick allows the user to create a straight-line TScreenObject. tbStraightLineClick sets CurrentTool to CreateStraightLineScreenObjectTool.

Published procedure tbZoomClick(Sender: TObject);

tbZoomClick allows the user to zoom in on a particular region by selecting it with the mouse. tbZoomClick sets CurrentTool to ZoomTool.

Published procedure tbZoomOutClick(Sender: TObject);

tbZoomOutClick allows the user to zoom out from a particular region. tbZoomOutClick sets CurrentTool to ZoomOutTool.

Published procedure ToolButtonMouseUp(Sender: TObject; Button: TMouseButton; Shift: TShiftState; X, Y: Integer);

When handling the OnMouseUp event, ToolButtonMouseUp checks that the user released the mouse while it was over the TToolButton. If so, ToolButton.Down is set to false and CurrentTool is set to Nil.

Published procedure SetGridLineDrawingChoice(Sender: TObject);
 
Private function ModelUpToDate(const FileName: string; CorrectDate: TDateTime): boolean;
 
Private function ModflowUpToDate: boolean;
 
Private function Mf2005UpToDate: boolean;
 
Private function MfNwtUpToDate: boolean;
 
Private function MfLgrUpToDate: boolean;
 
Private function ModpathUpToDate(Model: TCustomModel): boolean;
 
Private function ZoneBudgetUpToDate: boolean;
 
Private function ModelMateUpToDate: boolean;
 
Private procedure Invalidate3DView(Sender: TObject);

Invalidate3DView is the event handler for On3DViewChanged. It Invalidates glWidModelView.

Private procedure GetZoomBox(Sender: TObject; VD: TViewDirection; var ZoomBox: TQrbwZoomBox2);

GetZoomBox is the event handler for OnGetZoomBox.

Parameters
VD
VD indicates which TQRbwZoomBox2 is desired.
ZoomBox
ZoomBox is the TQRbwZoomBox2 in the TframeView indicated by VD.
Private procedure GetCurrentScreenObject (Sender: TObject; VD: TViewDirection; var ScreenObject: TScreenObject);

GetCurrentScreenObject is the event handler for OnGetCurrentScreenObject.

Parameters
VD
VD indicates which TframeView to check for the CurrentScreenObject.
ScreenObject
ScreenObject is the CurrentScreenObject in the TframeView indicated by VD.
Private procedure ConvertPoint(Sender: TObject; VD: TViewDirection; const RealPoint: TPoint2D; var ScreenCoordinate: TPoint);

ConvertPoint is the event handler for OnConvertPoint.

Parameters
VD
VD indicates which TframeView that will be used for the conversion.
RealPoint
RealPoint is the TPoint2D to be converted.
ScreenCoordinate
ScreenCoordinate is the TPoint corresponding to RealPoint.
Private procedure ScreenObjectSelectionChange(Sender: TObject);

ScreenObjectSelectionChange is the event handler for OnScreenObjectSelected and OnScreenObjectUnSelected. It enables or disables miEditSelectedObjects, acAddPolygonsToObject, acAddLinesToObject, and acAddPointsToObject.

Private procedure CheckScreenObject(Sender: TObject; ScreenObject: TScreenObject; var IsACurrentScreenObject: boolean);

CheckScreenObject is the event handler for OnCheckScreenObject. CheckScreenObject sets IsACurrentScreenObject to true if ScreenObject is the CurrentScreenObject on any TframeView.

Private procedure AddMostRecentlyUsedFile(const FileName: string);

AddMostRecentlyUsedFile adds FileName to MostRecentlyUsed.

Private procedure AdjustToolbarPositions(FirstToolBar, SecondToolBar: TToolBar);

AdjustToolbarPositions adjusts SecondToolBar.Left so that is just to the right of FirstToolBar. It is assumed that FirstToolBar and SecondToolBar are on the same row.

Private procedure BringFormsToFront(Sender: TObject);

If frmProgressMM, frmSelectedObjects, or frmColors are visible, BringFormsToFront brings them to the front. BringFormsToFront is the Application.OnActivate event handler.

Private function CheckModel: boolean;

CheckModel checks that the model has closed and allows the user an chance to save it if it hasn't been saved.

Private procedure ClearSelectedNodes;

If any individual vertices in a TScreenObject are selected ClearSelectedNodes deselects them. ClearSelectedNodes is used in tbSelectClick.

Private procedure DrawAddColRowCursor(const AnImage: TBitmap; Angle: real; const CursorComponent: TRbwDynamicCursor);

DrawAddColRowCursor is used to draw the bitmaps for the add-column or add-row cursor for the top view. It is also used to help draw the subdivide cursor. The cursor is drawn with lines that are parallel to the grid.

Private procedure DrawMoveColRowCursor(const AnImage: TBitmap; Angle: real; const CursorComponent: TRbwDynamicCursor);

DrawMoveColRowCursor is used to draw the bitmaps for the move-column or move-row cursor for the top view. The cursor is drawn with lines that are parallel to the grid.

Private procedure DrawSubdivideCursor(const AnImage: TBitmap; Angle: real; const CursorComponent: TRbwDynamicCursor);

DrawSubdivideCursor is used to help draw the bitmaps for the subdivide cursor for the top view. The cursor is drawn with lines that are parallel to the grid.

Private procedure ExportFile(const FileName: string; RunModel: boolean);

ExportFile writes the transport input file for PHAST. The work is delegated to WritePhastInput.

Private procedure FillButtonList(AList: TList);

FillButtonList fills AList with the buttons that can't all be down at the same time.

Private function GetPhastGrid: TPhastGrid;

See PhastGrid.

Private function IsOverStatusPanelDivider(const X: integer): boolean;

IsOverStatusPanelDivider returns true if X indicates that the mouse is over one of the dividers between panels on sbMain. IsOverStatusPanelDivider is called from sbMainMouseMove.

Private procedure SaveAFile(FileName: string);

SaveAFile saves the file named FileName.

Private procedure SelectDefaultButton;

If none of the buttons for creating TScreenObjects, editing the grid or other similar activities is Down. SelectDefaultButton sets tbSelect down.

Private procedure SetActionChecked(Sender: TObject);

SetActionChecked toggles the checked state of an action or the action associated with a control.

Parameters
Sender
must be the action or control whose state is to be toggled for SetActionChecked to do anything. If it isn't, SetActionChecked does nothing.
Private procedure SetButtonsUp(const CurrentButton: TObject);

SetButtonsUp sets the Down property of all buttons related to CurrentButton to false.

Parameters
CurrentButton
is the button that should remain down.
Private procedure SetCurrentTool(const Value: TCustomInteractiveTool);

See CurrentTool.

Private procedure SetCursorGrid(const Value: TCursorGrid);

See CursorGrid.

Private procedure SetFileFormat(const Value: TFileFormat);

See FileFormat.

Private procedure SetFrontScreenObjectsChanged(const Value: boolean);

See FrontScreenObjectsChanged.

Private procedure SetSideScreenObjectsChanged(const Value: boolean);

See SideScreenObjectsChanged.

Private procedure SetTopScreenObjectsChanged(const Value: boolean);

See TopScreenObjectsChanged.

Private procedure SetZB_Cursors(const ACursor: TCursor);

SetZB_Cursors sets TframeView..ZoomBox.Cursor and TframeView.ZoomBox.ImageBox32.Cursor to ACursor in frameTopView, frameFrontView, and frameSideView.

Private procedure ShowHint(Sender: TObject);

ShowHint is the event-handler for Application.OnHint. ShowHint shows a long version of the hint on the status bar (sbMain).

Private function GetModflowGrid: TModflowGrid;
 
Private function GetGrid: TCustomModelGrid;
 
Private procedure InvalidateViewOfModel;
 
Private function GetModelSelection: TModelSelection;
 
Private procedure SetModelSelection(const Value: TModelSelection);
 
Private procedure NewPosition(Sender: TObject; NewPosition: TPositionStorage);
 
Private procedure CheckInternet;
 
Private procedure SaveModelMateProject;
 
Private procedure SetChangingSelection(const Value: boolean);
 
Private procedure OnOpenFile(Sender: TObject);
 
Private procedure SetCanDraw(const Value: boolean);
 
Private function GetObservationFileName(SD: TSaveDialog): string;
 
Private function GetPredictionFileName(SD: TSaveDialog): string;
 
Private function GetCanDraw: boolean;
 
Private procedure InitializeModflowLgrInputDialog;
 
Private procedure DeleteLastPointInRuler;
 
Private function TestMt3dmsLocationOK(Model: TCustomModel): Boolean;
 
Private function Mt3dmsUpToDate: boolean;
 
Private procedure ScreenOnActiveFormChange(Sender: TObject);
 
Private procedure ExportMt3dFromCommandLine(FileName: string);
 
Private function GetSutraMesh: TSutraMesh3D;
 
Protected procedure OnAppIdle(Sender: TObject; var Done: Boolean);

OnAppIdle assigns the event handlers to the undo/redo buttons and undo/redo menu items.

Public procedure UpdateFrontCubeForSutraCrossSection(Sender: TObject);
 
Public procedure UpdateVerticalExaggeration(VerticalExaggeration: Double);
 
Public procedure EnableMeshRenumbering;
 
Public procedure InvalidateImage32AllViews;
 
Public procedure EnableHufMenuItems;
 
Public procedure EnableMt3dmsMenuItems;
 
Public procedure EnableManageFlowObservations;
 
Public procedure EnableManageHeadObservations;
 
Public procedure ReadIniFile;

ReadIniFile reads an ini file containing the most recently used files and also other settings that will be set by the user for all models rather than being saved in the model.

See also
WriteIniFile
WriteIniFile writes an ini file containing the most recently used files and also other settings that will be set by the user for all models rather than being saved in the model.
Public procedure WriteIniFile;

WriteIniFile writes an ini file containing the most recently used files and also other settings that will be set by the user for all models rather than being saved in the model.

See also
ReadIniFile
ReadIniFile reads an ini file containing the most recently used files and also other settings that will be set by the user for all models rather than being saved in the model.
Public procedure SynchronizeViews(SourceView: TViewDirection);
 
Public procedure ReDrawAllViews(Sender: TObject);
 
Public procedure EnableLinkStreams;
 
Public procedure AdjustScales;

AdjustScales calls TframeView.AdjustScales for frameTopView, frameFrontView, and frameSideView.

Public procedure BeginSuppressDrawing;
 
Public procedure EndSupressDrawing;
 
Public function DefaultVE: Real;

DefaultVE allows the user to edit the properties of the selected screen objects.

Public procedure EditScreenObjects;
 
Public procedure InvalidateDataSets;

InvalidateDataSets invalidates all the TDataArrays in the model.

Public procedure InvalidateAllViews;

InvalidateAllViews calls InvalidateTop, InvalidateFront, and InvalidateSide.

Public procedure InvalidateFront;

InvalidateFront causes the the front view of the model to be redrawn.

Public procedure InvalidateModel;

InvalidateModel invalidates PhastModel.

Public procedure InvalidateSide;

InvalidateSide causes the the side view of the model to be redrawn.

Public procedure InvalidateTop;

InvalidateTop causes the the top view of the model to be redrawn.

Public procedure InitializeView(ModelXWidth, ModelYWidth, ModelHeight: Real);
 
Public procedure OpenAFile(const FileName: string);

OpenAFile is used to read a GoPhast file from the disk.

Parameters
FileName
is the name of the file that is to be read.
Public function ResetSelectedScreenObjects: boolean;

ResetSelectedScreenObjects sets the Selected property of all TScreenObjects to false. ResetSelectedScreenObjects returns true if any of them were selected.

Public procedure ResizeZoomBoxes(Sender: TObject);

ResizeZoomBoxes causes the ZoomBoxes to be resized. ResizeZoomBoxes is set to be the OnTimer event handler of timTimer in TframeView.ZoomBoxResize.

Public procedure ScreenObjectsChanged(Sender: TObject);

ScreenObjectsChanged is the event handler of OnScreenObjectsChanged. ScreenObjectsChanged is used to update all views of the model.

Public procedure UpdateDataSetDimensions;

UpdateDataSetDimensions tells all the TDataArrays what the new grid dimensions are.

Public procedure UpdateModelSelection;
 
Public procedure ModelSelectionChange(Sender: TObject);
 
Public procedure EnableInvertSelection;
 
Public procedure InvalidateGrid;
 
Public procedure EnableVisualization;
 
Public procedure UpdateModelCubeBreaks;
 

Properties

Private property CreateArchive: Boolean read FCreateArchive write SetCreateArchive;
 
Protected property FileFormat: TFileFormat read FFileFormat write SetFileFormat;

FileFormat is used to specify the format of the files that can be opened or saved by GoPhast.

Public property ChangingSelection: boolean read FChangingSelection write SetChangingSelection;
 
Public property CanDraw: boolean read GetCanDraw write SetCanDraw;

Setting CanDraw to False causes TframeView.Paint and glWidModelViewRender to exit immediately without doing anything.

Public property CanEdit: boolean read FCanEdit write FCanEdit;

CanEdit is used to prevent editing of two or more sets of TScreenObjects at one time.

Public property ClickedRuler: TObject read FClickedRuler write FClickedRuler;

ClickedRuler is set to the TRbwRuler in TframeView.rulerDblClick It determines which tab of TfrmRulerOptions will be visible when it is first displayed.

Public property CurrentTool: TCustomInteractiveTool read FCurrentTool write SetCurrentTool;

CurrentTool is the TCustomInteractiveTool that is currently being used to handle the user interaction with TframeView.ZoomBox.

Public property CursorGrid: TCursorGrid read FCursorGrid write SetCursorGrid;

CursorGrid is used to indicate which view of the model, if any, the mouse is over.

Public property CursorX: integer read FCursorX write FCursorX;

CursorX is used to store the X-coordinate of the current mouse position in the current TframeView.ZoomBox.

Public property CursorY: integer read FCursorY write FCursorY;

CursorY is used to store the Y-coordinate of the current mouse position in the current TframeView.ZoomBox.

Public property FrontDiscretizationChanged: boolean read FFrontDiscretizationChanged write FFrontDiscretizationChanged;

FrontDiscretizationChanged is used to indicate that a change has been made to the grid in the front view of the model so that the view of the model needs to be redrawn.

Public property FrontScreenObjectsChanged: boolean read FFrontScreenObjectsChanged write SetFrontScreenObjectsChanged;

Setting FrontScreenObjectsChanged to true causes the front view of the model to be redrawn.

Public property Grid: TCustomModelGrid read GetGrid;

Grid is the ini file for GoPhast. It stores a list of the most recently opened files.

Public property SutraMesh: TSutraMesh3D read GetSutraMesh;
 
Public property IniFile: TMemInifile read FIniFile;

IniFile is the name of a file containing the initialization data for the program. It contains the names of the most recently opened files.

Public property ModflowGrid: TModflowGrid read GetModflowGrid;
 
Public property PhastModel: TPhastModel read FPhastModel write FPhastModel;

PhastModel is the TPhastModel that is being edited in GoPhast.

Public property OldHeight: integer read FOldHeight;

OldHeight represents the height of the main form in GoPhast when it is not minimized. It is used in TPhastModel.Height.

Public property OldWidth: integer read FOldWidth;

OldWidth represents the width of the main form in GoPhast when it is not minimized. It is used in TPhastModel.Width.

Public property PhastGrid: TPhastGrid read GetPhastGrid;

PhastGrid is the PhastGrid of PhastModel.

Public property SideDiscretizationChanged: boolean read FSideDiscretizationChanged write FSideDiscretizationChanged;

SideDiscretizationChanged is used to indicate that a change has been made to the grid in the side view of the model so that the view of the model needs to be redrawn.

Public property SideScreenObjectsChanged: boolean read FSideScreenObjectsChanged write SetSideScreenObjectsChanged;

Setting SideScreenObjectsChanged to true causes the side view of the model to be redrawn.

Public property TopDiscretizationChanged: boolean read FTopDiscretizationChanged write FTopDiscretizationChanged;

TopDiscretizationChanged is used to indicate that a change has been made to the grid in the top view of the model so that the view of the model needs to be redrawn.

Public property TopScreenObjectsChanged: boolean read FTopScreenObjectsChanged write SetTopScreenObjectsChanged;

Setting TopScreenObjectsChanged to true causes the top view of the model to be redrawn.

Public property ModelSelection: TModelSelection read GetModelSelection write SetModelSelection;
 
See also
ModelSelectionChange
Public property CreateNewCompositeBudgetFile: boolean read FCreateNewCompositeBudgetFile write FCreateNewCompositeBudgetFile;
 
Public property ObservationFileName[SD:TSaveDialog]: string read GetObservationFileName;

Public declarations

Public property PredictionFileName[SD:TSaveDialog]: string read GetPredictionFileName;
 

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