Vcl.ComCtrls.TCustomUpDown.Position

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Position: Integer read GetPosition write SetPosition default 0;

C++

__property int Position = {read=GetPosition, write=SetPosition, default=0};

Properties

Type Visibility Source Unit Parent
property protected
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls TCustomUpDown

Description

Specifies the current value represented by the up-down control.

Use Position to get or change the value the up-down control represents. Position must be a value between Min and Max.

When the Associate property specifies an edit control, its text is automatically set to the value of Position. When Position changes, the text of the edit control is updated. If the Associate property is nil (Delphi) or NULL (C++), use the OnClick event to respond to changes in the value of Position.

See Also