[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Implements the form used to display a calculator in a TCalculatorDialog.
Source position: calcform.pas line 103
type TCalculatorForm = class(TForm) |
||
protected |
||
class procedure WSRegisterClass; override; |
||
procedure OkClick(); |
|
Performs actions needed when the OK button is clicked. |
procedure CancelClick(); |
|
Performs actions needed when the Cancel button is clicked. |
procedure CalcKey(); |
|
Performs actions needed for a key received in the calculator form. |
procedure DisplayChange(); |
|
Performs actions needed when the calculator display is changed. |
procedure InitForm(); virtual; |
|
Initializes the calculator form using the specified layout. |
public |
||
constructor Create(); |
|
Constructor for the class instance. |
property Value: Double; [rw] |
|
Value displayed or returned from the calculator. |
|
||
property CalcPanel: TCalculatorPanel; [r] |
|
Panel with the calculator keys, operators,memory buttons, et. al. |
property DisplayPanel: TPanel; [r] |
|
Panel for the display area on the calculator form. |
property DisplayLabel: TLabel; [r] |
|
Label used to display the value in the panel. |
property OnCalcKey: TCalculatorCalcKeyEvent; [rw] |
|
Event handler signalled to handle keys press on the calculator form. |
property OnDisplayChange: TCalculatorDispChangeEvent; [rw] |
|
Event handler signalled when the calculator display has been changed. |
end; |
|
Implements the form used to display a calculator in a TCalculatorDialog. |
|
| | ||
|
Implements a form used in an LCL application. |
|
| | ||
|
The base type for TForm classes. |
|
| | ||
|
Provides a designer surface for scaling and layout of its child controls. |
|
| | ||
|
Class of a windowed control with incorporated scroll bars. |
|
| | ||
|
The base class for windowed controls which paint themselves. |
|
| | ||
|
Implements a windowed control which can contain other child controls. |
|
| | ||
|
The base class for visible controls. |
|
| | ||
|
The base class for LCL components which have an associated widget. |
|
| | ||
TObject |