RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomUpDown.Position Property

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

Pascal
property Position: SmallInt;
C++
__property SmallInt Position;

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. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!