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; Clicking btnCancel closes TfrmSmoothGrid without doing anything.
|
 |
btnHelp: TBitBtn; |
btnHelp : TBitBtn; Clicking btnHelp displays help on TfrmSmoothGrid .
|
 |
cbColumns: TCheckBox; |
cbColumns : TCheckBox; cbColumns is used to specify whether the columns should be "smoothed". See cbClick.
|
 |
cbLayers: TCheckBox; |
cbLayers : TCheckBox; cbLayers is used to specify whether the layers should be "smoothed". See cbClick.
|
 |
cbRows: TCheckBox; |
cbRows : TCheckBox; cbRows is used to specify whether the rows should be "smoothed". See cbClick.
|
 |
lblCriterion: TLabel; |
lblCriterion : TLabel; lblCriterion displays "Grid smoothing criterion".
|
 |
rdeCriterion: TRbwDataEntry; |
rdeCriterion : TRbwDataEntry; rdeCriterion is 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); |
btnOKClick calls SetData.
|
 |
procedure cbClick(Sender: TObject); |
cbClick is 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