Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxSpinButtonProperties.ValueType Property

Specifies the type of the spin edit value.

#Declaration

Delphi
property ValueType; default vtInt;

#Property Value

Type Default
TcxSpinEditValueType vtInt

#Remarks

The ValueType property determines the type of value which a spin editor contains. Two types are valid: integer and double. Setting the ValueType property to one of these types automatically changes the type of the variant Value property. This property specifies a value which the spin editor contains.

The ValueType affects the incrementing procedure when a user clicks the spin buttons or presses the Up and Down keys (a user must press Ctrl-Up and Ctrl-Down keys if the UseCtrlIncrement property is set to True). The spin edit value is incremented or decremented by the amount defined by the Increment property. If ValueType is set to vtInt, then the increment value is rounded to the nearest integer number first and then added to/subtracted from Value.

The default value of the ValueType property is vtInt.

See Also