TMtxFloatEdit Class

TCustomEdit→TMtxFloatEdit

type TMtxFloatEdit = class(TCustomEdit);

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.

Properties

NameTypeDescription
ButtonTUDButton
CplxPositionTCplxReturns the current value displayed by the component formated as a complex number.
EditorActivebooleanReturns True, if the component editor is active (displayed).

Methods

NameDescription
Create
Destroy
ExecuteDisplays the component editor.
GetChildren
LoadFromRegistryLoad the published properties from the registry.
SaveToRegistrySave the published properties component to registry.