TcxCalcEdit Object

Applies to TestComplete 15.62, last modified on March 19, 2024

The TcxCalcEdit component is a numeric editor with a drop-down calculator. With its help the user can compute the desired value using the component rather than calculating it another way. The calculator is displayed within a drop-down window and is capable to perform arithmetic calculations: addition, subtraction, multiplication, division and so on. The component provides properties that let you control the component’s appearance and behavior.

As in the standard Windows’ calculator the user can input data by clicking the calculator buttons or from the numpad. When the calculator window is open, pressing the Enter key will evaluate the last operation and close the drop-down window. Pressing the Esc key will close the drop-down window without evaluation, pressing it again will discard the changes and return the previous value.

The component’s value is stored in the Value property. If you need to display the value in a scientific format, set the Properties.ScientificFormat property to True. To apply the custom format to the displayed value, use the Properties.DisplayFormat property.

TcxCalcEdit Properties

TcxCalcEdit Methods

TcxCalcEdit Events

See Also

User Forms

Highlight search results