[Overview][Constants][Types][Classes][Procedures and functions][Index] |
The current position (or value) for the control as a SmallInt type.
Source position: comctrls.pp line 2000
protected property TCustomUpDown.Position : SmallInt |
Position is a SmallInt property with the current value for the control. Its value is read from the Caption text in the Associate control (when assigned), and converted to an Integer value used in the property. Values in Min and Max are used as the property value if the converted integer exceeds one of these limits.
Changing the value for the property causes the numeric value to be converted to its string representation and stored in the Caption text for the Associate control. When Thousands is enabled, the thousands separator from DefaultFormatSettings is included in the string value. The widgetset class instance is updated if its handle has been assigned.
Use Min and Max to specify the lower and upper limits for the value in Position.
|
Control used to display and edit the Position for the control. |
|
|
The largest value allowed in the Position property. |
|
|
The smallest value allowed in the Position property. |
|
|
Enables or disables use of the thousands separator when displaying the text for the Position property. |
Version 4.0 | Generated 2025-05-03 | Home |