public class FloatEdit : UpDownBase
NumericUpDown control supporting complex numbers.
The control 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 control 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 control editor.
Properties
| Name | Type | Description |
|---|---|---|
| CplxPosition | TCplx | Returns the current value displayed by the control formated as a complex number. |
| EditorEnabled | Boolean | If true, then holding down the CTRL key and double clicking the control will display the control editor. |
| ImFormat | String | String format for the imaginary part of complex number. |
| Increment | String | Defines the increment for the up/down buttons. |
| IntegerIncrement | Boolean | If true, the increment can be only integer. |
| IntPosition | Int32 | Returns the current value displayed by the component. |
| MaxValue | String | The maximum accepted value displayed by the edit box. |
| MinValue | String | The minimum accepted value displayed by the edit box. |
| Position | Double | Returns the current value displayed by the component. |
| ReFormat | String | String format for the real part of complex number. |
| RegistryPath | String | The address in the registry where the properties of this control are to be stored. |
| Scientific | Boolean | Display numbers in full scientific format. |
| StoreInRegistry | Boolean | If true, control properties will be saved to the registry. |
| Text | String | |
| Value | String | Stores the currently displayed value. |
Methods
| Name | Description |
|---|---|
| ctor | FloatEdit control constructor. |
| DownButton | |
| LoadFromRegistry | Load control properties from the registry. |
| SaveToRegistry | Save control properties to the registry. |
| UpButton |