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

TSpinEdit

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

The main class for the integer-based spin control

Declaration

Source position: spin.pp line 144

type TSpinEdit = class(TCustomSpinEdit)

public

  property AutoSelected;

  

True when the text selection was established automatically.

published

  property Align;

  

Specifies the placement of the control inside its Parent.

  property Alignment;

  property Anchors;

  

The set of anchor definitions for this control.

  property AutoSelect;

  

If True, the edit control will select all its text when it receives focus or when the Enter key is pressed.

  property AutoSize;

  

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

  property BorderSpacing;

  

Determines the inner and outer border spacing for this control.

  property Color;

  property Constraints;

  

The minimal and maximal Width and Height of this control.

  property Enabled;

  

Determines whether the control reacts on mouse or keyboard input.

  property Font;

  property Increment;

  

The value by which the value of the control should be increased/decresed when the user clicks one of the arrows or one of the keyboard up/down arrows

  property MaxValue;

  

Maximal valueallowed for the spin edit.

  property MinValue;

  

Minimal value allowed for the spin edit.

  property OnChange;

  

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

  property OnChangeBounds;

  

Event handler for a change of the Bounds of the control.

  property OnClick;

  

Notification handler for mouse clicks.

  property OnEditingDone;

  property OnEnter;

  

Handler for control receiving the focus.

  property OnExit;

  

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

  property OnKeyDown;

  

Handler for keyboard key pressed.

  property OnKeyPress;

  

Handler for a character entered by the user.

  property OnKeyUp;

  

Handler for keyboard key released.

  property OnMouseDown;

  

Event handler for mouse button going down.

  property OnMouseMove;

  

Event handler for mouse movement within the control.

  property OnMouseUp;

  

Event handler for mouse button going up.

  property OnResize;

  

Notification handler for a resize of the control.

  property OnUTF8KeyPress;

  

Handler for a character entered by the user.

  property ParentFont;

  property ParentShowHint;

  

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

  property PopupMenu;

  

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

  property ReadOnly;

  

Prevents the user from changing the text.

  property ShowHint;

  

Enables the Hint display.

  property TabStop;

  

Allows the user to navigate to this control, by pressing the Tab key.

  property TabOrder;

  

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

  property Value;

  

The value of spin control.

  property Visible;

  

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

end;

Inheritance

TSpinEdit

  

The main class for the integer-based spin control

|

TCustomSpinEdit

  

The base class for the integer-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 integer-based spin edit control. Use TSpinEdit to allow user to pick integer value.

See also

TFloatSpinEdit

  

The main class for the float-based spin control