[Overview][Classes][Procedures and functions][Index] Reference for unit 'Spin' (#lcl)

TFloatSpinEdit

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

The main class for the float-based spin control

Declaration

Source position: spin.pp line 76

type TFloatSpinEdit = class(TCustomFloatSpinEdit) end;

public

  property AutoSelected: Boolean;

  

published

  property Align: TAlign;

  

Specifies the placement of the control inside its Parent.

  property Alignment: TAlignment;

  property Anchors: TAnchors;

  

The set of anchor definitions for this control.

  property AutoSelect: Boolean;

  

  property AutoSize: Boolean;

  

Allows to automatically adjust the size of the control, according to its content.

  property BorderSpacing: TControlBorderSpacing;

  

Determines the inner and outer border spacing for this control.

  property Color: TColor;

  property Constraints: TSizeConstraints;

  

The minimal and maximal Width and Height of this control.

  property DecimalPlaces: Integer;

  

  property Enabled: Boolean;

  

Determines whether the control reacts on mouse or keyboard input.

  property Font: TFont;

  property Increment: Double;

  

An amount to be incremented/decremented to the value when spin edit up/down arrow button is pushed.

  property MaxValue: Double;

  

Maximal value allowed for the spin edit.

  property MinValue: Double;

  

Minimal value allowed for the spin edit.

  property OnChange: TNotifyEvent;

  

The OnChange event is fired when spin edit value has changed.

  property OnChangeBounds: TNotifyEvent;

  

  property OnClick: TNotifyEvent;

  

  property OnEditingDone: TNotifyEvent;

  

  property OnEnter: TNotifyEvent;

  

Handler for control receiving the focus.

  property OnExit: TNotifyEvent;

  

Handler for control loosing the focus. This is a good place for checking the finished user input.

  property OnKeyDown: TKeyEvent;

  

Handler for keyboard key pressed.

  property OnKeyPress: TKeyPressEvent;

  

Handler for a character entered by the user.

  property OnKeyUp: TKeyEvent;

  

Handler for keyboard key released.

  property OnMouseDown: TMouseEvent;

  

Event handler for mouse button going down.

  property OnMouseEnter: TNotifyEvent;

  property OnMouseLeave: TNotifyEvent;

  property OnMouseMove: TMouseMoveEvent;

  

Event handler for mouse movement within the control.

  property OnMouseUp: TMouseEvent;

  

Event handler for mouse button going up.

  property OnMouseWheel: TMouseWheelEvent;

  property OnMouseWheelDown: TMouseWheelUpDownEvent;

  property OnMouseWheelUp: TMouseWheelUpDownEvent;

  property OnResize: TNotifyEvent;

  

Notification handler for a resize of the control.

  property OnUTF8KeyPress: TUTF8KeyPressEvent;

  

Handler for a character entered by the user.

  property ParentColor: Boolean;

  property ParentFont: Boolean;

  property ParentShowHint: Boolean;

  

If true, the value of ShowHint for the control will be the same as the one from the Parent. Default is true.

  property PopupMenu: TPopupMenu;

  

A context-sensitive menu that pops up when the right mouse button is clicked over this control

  property ReadOnly: Boolean;

  

  property ShowHint: Boolean;

  

Enables the Hint display.

  property TabStop: Boolean;

  property TabOrder: TTabOrder;

  

Determines the sequence of controls, reachable when the user presses the Tab key.

  property Value: Double;

  

The value of spin control.

  property Visible: Boolean;

  

Allows to show or hide the control, and all of its children.

Inheritance

TFloatSpinEdit

  

The main class for the float-based spin control

|

TCustomFloatSpinEdit

  

The base class for the float-based spin control

|

TCustomEdit

  

The base class for controls presenting editable text.

|

TWinControl

  

The base class for controls which can contain other (child) controls.

|

TControl

  

The base class for visible controls.

|

TLCLComponent

  

The base class for LCL components associated with widgets.

|

TComponent

?

TObject

Description

The main class for the float-based spin edit control. Use TFloatSpinEdit to allow user to pick float value.

See also

TSpinEdit

  

The main class for the integer-based spin control

The latest version of this document can be found at lazarus-ccr.sourceforge.net.