Vcl.ComCtrls.TUpDown.Position

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Position;

C++

__property Position = {default=0};

Properties

Type Visibility Source Unit Parent
property published
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls TUpDown

Description

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

Vcl.ComCtrls.TUpDown.Position inherits from Vcl.ComCtrls.TCustomUpDown.Position. All content below this line refers to Vcl.ComCtrls.TCustomUpDown.Position.

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