[Overview][Constants][Types][Classes][Procedures and functions][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
TCalculatorForm - a normal form with a built-in calculator
Source position: extdlgs.pas line 164
type TCalculatorForm = class(TForm) |
||
class procedure WSRegisterClass; override; |
|
WSRegisterClass - Register this Class for the current Widget Set |
protected |
||
procedure OkClick(); |
|
OkClick - method to handle a click on th eOK button |
procedure CancelClick(); |
|
CancelClick - method to handle a click on the Cancel button |
procedure CalcKey(); |
|
CalcKey - method to handle activation of the specified calculator key |
procedure DisplayChange(); |
|
DisplayChange - method for handling a change in the calculator display |
procedure InitForm(); virtual; |
|
InitForm - initialise the form, using the specified calculator layout |
|
The MainPanel of the Form, which can contain any sort of LCL components |
|
|
The CalcPanel which displays the calculator |
|
property DisplayPanel: TPanel; [r] |
|
The DisplayPanel within the calculator panel, that holds the numeric display |
property DisplayLabel: TLabel; [r] |
|
The DisplayLabel for the calculator display |
public |
||
constructor Create(); override; |
|
Create - constructor for the whole form, not just the calculator |
constructor CreateLayout(); |
|
CreateLayout - constructor for the calculator panel using the specified layout |
property Value: Double; [rw] |
|
Value - the numeric value, the result of the calculation, to be returned to the main program |
end; |
|
TCalculatorForm - a normal form with a built-in calculator |
|
| | ||
| | ||
|
TCustomForm - the base type for TForm |
|
| | ||
|
TScrollingWinControl - a class of Window Control that has one or more scroll bars |
|
| | ||
|
TCustomControl - a base class for many window controls |
|
| | ||
| | ||
| | ||
|
TLCLComponent - base class for LCL components |
|
| | ||
| | ||
| | ||
TCalculatorForm - a normal form with a built-in calculator
There is a MainPanel in which the standard LCL widgets can be placed, and a CalcPanel which displays a calculator which has the functionality of a TCalculatorDialog but remains permanently displayed
lazarus-ccr.sourceforge.net |