[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
TCalcEdit - an EditBox to hold a numeric value, with an attached SpeedButton that will summon a calculator dialog
Source position: editbtn.pas line 405
type TCalcEdit = class(TCustomEditButton) |
||
protected |
||
|
||
function GetDefaultGlyph; override; |
||
function GetDefaultGlyphName; override; |
||
procedure DoButtonClick(); override; |
|
|
procedure RunDialog; virtual; |
|
RunDialog - perform the function of the dialog |
public |
||
constructor Create(); override; |
|
|
destructor Destroy; override; |
|
|
published |
||
property CalculatorLayout: TCalculatorLayout; [rw] |
|
CalculatorLayout - normal or simple |
property AsFloat: Double; [rw] |
|
AsFloat - holds the result of the calculation as a floating-point (double precision) number |
property AsInteger: Integer; [rw] |
|
AsInteger - holds the result of the calculation as an Integer |
property OnAcceptValue: TAcceptValueEvent; [rw] |
|
OnAcceptValue - event handler for accepting the result of the calculation |
property DialogTitle: String; [rws] |
|
DialogTitle - the caption to be used for the dialog |
property ButtonWidth; |
|
|
property DirectInput; |
|
|
property ButtonOnlyWhenFocused; |
|
|
property NumGlyphs; |
|
|
property Flat; |
|
|
property Align; |
|
|
property Anchors; |
|
|
property BorderSpacing; |
|
|
property AutoSize; |
|
|
property AutoSelect; |
||
property Color; |
|
|
property Ctl3D; |
|
|
property DragCursor; |
|
|
property DragMode; |
|
|
property Enabled; |
|
|
property Font; |
|
|
property MaxLength; |
|
|
property ParentColor; |
|
|
property ParentCtl3D; |
|
|
property ParentFont; |
|
|
property ParentShowHint; |
|
|
property PopupMenu; |
|
|
property ReadOnly; |
|
|
property ShowHint; |
|
|
property TabOrder; |
|
|
property TabStop; |
|
|
property Visible; |
|
|
property OnChange; |
|
|
property OnClick; |
|
|
property OnDblClick; |
|
|
property OnDragDrop; |
|
|
property OnDragOver; |
|
|
property OnEditingDone; |
||
property OnEndDrag; |
|
|
property OnEnter; |
|
|
property OnExit; |
|
|
property OnKeyDown; |
|
|
property OnKeyPress; |
|
|
property OnKeyUp; |
|
|
property OnMouseDown; |
|
|
property OnMouseMove; |
|
|
property OnMouseUp; |
|
|
property OnStartDrag; |
|
|
property OnUTF8KeyPress; |
||
end; |
|
TCalcEdit - an EditBox to hold a numeric value, with an attached SpeedButton that will summon a calculator dialog |
|
| | ||
|
TCustomEditButton - base class for TEditButton, an Edit Box with attached Speed Button |
|
| | ||
TCustomEdit |
||
? | ||
TObject |