Class TframePrintFrequency

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TframePrintFrequency = class(TFrame)

Description

TframePrintFrequency is used to display an edit box for specifying a print-frequency along with a combobox for displaying the units of the print-frequency. Instances of TframePrintFrequency are displayed in cells of a TStringGrid in TfrmPrintFrequency.

Hierarchy

Overview

Fields

Implicit comboUnits: TComboBox;
Implicit panelCombo: TPanel;
Implicit panelEdit: TPanel;
Implicit rdeFrequency: TRbwDataEntry;
Implicit Splitter: TSplitter;

Methods

Implicit procedure comboUnitsChange(Sender: TObject);
Private function GetFrequency: double;
Private function GetUnits: TFrequencyUnits;
Private procedure SetFrequency(const Value: double);
Private procedure SetUnits(const Value: TFrequencyUnits);
Public procedure CopyData(const Frame: TframePrintFrequency);
Public procedure Loaded; override;

Properties

Public property Frequency: double read GetFrequency write SetFrequency;
Public property Units: TFrequencyUnits read GetUnits write SetUnits;

Description

Fields

Implicit comboUnits: TComboBox;

comboUnits allows the user to edit the units of the print-frequency. See comboUnitsChange.

Implicit panelCombo: TPanel;

panelCombo holds comboUnits. See Splitter.

Implicit panelEdit: TPanel;

panelEdit holds rdeFrequency. See Splitter.

Implicit rdeFrequency: TRbwDataEntry;

rdeFrequency allows the user to edit the value of the print-frequency.

Implicit Splitter: TSplitter;

Splitter allows the user to resize the size of comboUnits and rdeFrequency by resizing panelCombo and panelEdit.

Methods

Implicit procedure comboUnitsChange(Sender: TObject);

comboUnitsChange changes the DataType or rdeFrequency or disables it based on the units the user selects. See comboUnits.

Private function GetFrequency: double;

See Frequency.

Private function GetUnits: TFrequencyUnits;

See Units.

Private procedure SetFrequency(const Value: double);

See Frequency.

Private procedure SetUnits(const Value: TFrequencyUnits);

See Units.

Public procedure CopyData(const Frame: TframePrintFrequency);

CopyData copies the Units and Frequency of Frame to the instance that calls CopyData.

Public procedure Loaded; override;

Loaded sets ParentFont to True.

Properties

Public property Frequency: double read GetFrequency write SetFrequency;

Frequency is the print-frequency.

Public property Units: TFrequencyUnits read GetUnits write SetUnits;

Units represents the units of the Print-frequency or allows the user to print at the end of a stress period.


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