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

TCustomSpinEdit

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

The base class for the integer-based spin control

Declaration

Source position: spin.pp line 128

type TCustomSpinEdit = class(TCustomFloatSpinEdit) end;

protected

  procedure SetMaxValue(); virtual; overload;

  

  procedure SetMinValue(); virtual; overload;

  

  procedure SetIncrement(); virtual; overload;

  

  procedure SetValue(); virtual; overload;

  

public

  constructor Create(); override;

  

  property Value: Integer; [rw]

  

The value of spin control.

  property MinValue: Integer; [rw]

  

Minimal value allowed for the spin edit.

  property MaxValue: Integer; [rw]

  

Maximal valueallowed for the spin edit.

  property Increment: Integer; [rw]

  

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

Inheritance

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

A control which can increment and decrement an integer value. It has arrows to allow the user to increment/decrement the value and an edit box for typing it directly.

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