Specifies the data type of a component’s value.
Declaration
componentPropObj.ValueType
Read-Write Property | String |
componentPropObj | One of the objects listed in the Applies To section |
Applies To
This property applies to the following objects:
Description
Use the ValueType
property to get or set the data type of the component value. Setting this property automatically modifies the data type of the current component value.
Property Value
One of the following string values that specify the component’s data type:
Value | Description |
---|---|
“vtInt ” |
A spin editor displays integer values. This is the default value. |
“vtFloat ” |
A spin editor displays floating-point values. |