Class TframeRulerOptions

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TframeRulerOptions = class(TFrame)

Description

TframeRulerOptions is used to edit the display format of a TRbwRuler.

Hierarchy

Overview

Fields

Implicit lblPrecision: TLabel;
Implicit lblSampleNumber: TLabel;
Implicit lblPreviewLabel: TLabel;
Implicit lblPreview: TLabel;
Implicit rdePreviewNumber: TRbwDataEntry;
Implicit lblDigits: TLabel;
Implicit sePrecision: TJvSpinEdit;
Implicit seDigits: TJvSpinEdit;
Implicit lblSpacing: TLabel;
Implicit seSpacing: TJvSpinEdit;
Private FRuler: TRbwRuler;

Methods

Implicit procedure rdePreviewNumberChange(Sender: TObject);
Implicit procedure sePrecisionChange(Sender: TObject);
Private procedure SetPreview;
Public procedure GetData(const Ruler: TRbwRuler);
Public procedure SetData;

Description

Fields

Implicit lblPrecision: TLabel;

lblPrecision shows the text "Precision."

Implicit lblSampleNumber: TLabel;

lblSampleNumber shows the text "Sample number."

Implicit lblPreviewLabel: TLabel;

lblPreviewLabel shows the text "Preview:."

Implicit lblPreview: TLabel;

lblPreview is used to give a preview of what the numbers on the TRbwRuler will look like.

Implicit rdePreviewNumber: TRbwDataEntry;

rdePreviewNumber is used to allow the user to enter the number that will be shown in lblPreview. See rdePreviewNumberChange.

Implicit lblDigits: TLabel;
 
Implicit sePrecision: TJvSpinEdit;
 
Implicit seDigits: TJvSpinEdit;
 
Implicit lblSpacing: TLabel;
 
Implicit seSpacing: TJvSpinEdit;
 
Private FRuler: TRbwRuler;

FRuler is the TRbwRuler that is being edited.

Methods

Implicit procedure rdePreviewNumberChange(Sender: TObject);

rdePreviewNumberChange causes the preview number in lblPreview to be updated.

Implicit procedure sePrecisionChange(Sender: TObject);

sePrecisionChange is the OnChange event handler for sePrecision. It calls SetPreview.

Private procedure SetPreview;

SetPreview causes the preview number in lblPreview to be updated.

Public procedure GetData(const Ruler: TRbwRuler);

GetData copies the data from Ruler to the controls in TframeRulerOptions.

Public procedure SetData;

SetData copies the data from the controls in TframeRulerOptions to the TRbwRuler that is being edited.


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