Class TfrmSmoothGrid
Unit
frmSmoothGridUnit
Declaration
type TfrmSmoothGrid = class(TfrmCustomGoPhast)
Description
TfrmSmoothGrid is used to perform "grid-smoothing".
When "grid-smoothing" is performed, the widths of columns, rows, or layers in TPhastGrid are changed to keep the ratio between the widths of adjacent rows, columns, or layers below the "grid-smothing criterion". The "grid-smothing criterion" is generally less than or equal to 1.5.
Hierarchy
Overview
Fields
Methods
Description
Fields
|  | btnCancel: TBitBtn; | 
| 
btnCancel: TBitBtn; ClickingbtnCancelclosesTfrmSmoothGridwithout doing anything. | 
|  | btnHelp: TBitBtn; | 
| 
btnHelp: TBitBtn; ClickingbtnHelpdisplays help onTfrmSmoothGrid. | 
|  | cbColumns: TCheckBox; | 
| 
cbColumns: TCheckBox;cbColumnsis used to specify whether the columns should be "smoothed". See cbClick. | 
|  | cbLayers: TCheckBox; | 
| 
cbLayers: TCheckBox;cbLayersis used to specify whether the layers should be "smoothed". See cbClick. | 
|  | cbRows: TCheckBox; | 
| 
cbRows: TCheckBox;cbRowsis used to specify whether the rows should be "smoothed". See cbClick. | 
|  | lblCriterion: TLabel; | 
| 
lblCriterion: TLabel;lblCriteriondisplays "Grid smoothing criterion". | 
|  | rdeCriterion: TRbwDataEntry; | 
| 
rdeCriterion: TRbwDataEntry;rdeCriterionis used to set the grid smoothing criterion. The grid smoothing criterion is the largest ratio between adjacent column, row, or layer widths that is allowed. The grid smoothing criterion should usually be less than 1.5. | 
Methods
|  | procedure btnOKClick(Sender: TObject); | 
| 
btnOKClickcalls SetData. | 
|  | procedure cbClick(Sender: TObject); | 
| 
cbClickis the OnClick event-handler for cbColumns, cbLayers, and cbRows. It enables btnOK if at least one of them is checked. | 
|  | procedure FormCreate(Sender: TObject); override; | 
|  | 
|  | procedure GetData; | 
|  | 
Generated by PasDoc 0.12.1 on 2013-05-13 15:41:40