Edit box for real and complex numbers.
The component inherits most TCustomEdit properties/methods and introduces some new properties. It can be used as editor for real or complex numbers with the ability to specify arbitrary (real or integer, real or complex) up/down increments. The component also features an editor, which can be accessed by holding down the CTRL key and double clicking on it. The key properties which control the increment and number formating can be set with the component editor.
The increment can also be locked to be an integer, if IntegerIncrement is set to True.
User should be carefull not to set the number formating to "0.00" and increment to "0.001" (for example). Pressing the up/down buttons in this case will not result in a change of the value.
| Name | Type | Description |
|---|
| Button | TUDButton* | |
| CplxPosition | TCplx | Returns the current value displayed by the component formated as a complex number. |
| EditorActive | bool | Returns True, if the component editor is active (displayed). |
| EditorEnabled | bool | If true, then holding down the CTRL key and double clicking the component will display the component editor. |
| ImFormat | System::UnicodeString | Specifies the number format used to display the imaginary part of the complex number. |
| Increment | System::UnicodeString | Defines the increment for the up/down buttons. |
| IntegerIncrement | bool | If True, the increment can be only integer. |
| IntPosition | int | Returns the current value displayed by the component. |
| MaxValue | System::UnicodeString | Defines the maximum accepted value displayed by the edit box. |
| MinValue | System::UnicodeString | Defines the minimum accepted value displayed by the edit box. |
| Position | double | Returns the current value displayed by the component. |
| ReFormat | System::UnicodeString | Specifies the number format used to display the real part of the complex number. |
| RegistryPath | System::UnicodeString | The address in the registry where the published properties of this component are to be stored. |
| Scientific | bool | Sometimes it is neccessary to keep the full floating point precision. |
| StoreInRegistry | bool | Set this property to True to save published properties to Windows registry. |
| Value | System::UnicodeString | Stores the value currently displayed. |