Value Property

Applies to TestComplete 15.70, last modified on December 17, 2024

Specifies the numeric value displayed by the component.

Declaration

componentObj.Value
Read-Write Property Variant
componentObj     One of the user forms components listed in the Applies To section  

Applies To

The property applies to the following components:

TcxCalcEdit, TcxCurrencyEdit, TcxSpinEdit

Description

Use the Value property to get or set the numeric value displayed by the component.

Property Value

The property value depends on the component type:

  • For the TcxCalcEdit and TcxCurrencyEdit components, the Value property is of the Float type and can store floating-point values. Actually, this property is a wrapper for the EditValue property.
  • For the TcxSpinEdit component, the Value property is of the Variant type and can store integer or floating-point values. The data type of the Value property is specified by the Properties.ValueType property.

See Also

EditValue Property

Highlight search results