You are here: Symbol Reference > AbNumEdit Namespace > Classes > TAbNumEdit Class
ContentsIndexHome
PreviousUpNext
TAbNumEdit Class TAbNumEdit Class
private   TAbNumEdit Members   Send Feedback

Number edit control with input validation while typing and selectable base.

File
Pascal
TAbNumEdit = class(TCustomEdit);
C++
class TAbNumEdit : public TCustomEdit;
Description

Functions:

  • selectable "EditBase" to enter Integer-, Float-, Hex- or boolean values
  • user- and Base related Min-/Max limiting
  • prefixes to change the editbase for the value you enter
  • Exponent enabled (e and E) for float inputs
  • multiplicator char (last sign)
  • press "ESC" as Undo (while editing)
  • up/down arrow key support (see Increment)

 

Prefixes to change the EditBase:

Prefixes 
Description 
Hex string 
Binary string 
Integer value 
Floating point value 

 

 

Supported multiplier Chars 

 

Chars 
meaning 
factor 
Exa 
1e18 
Peta 
1e15 
Tera 
1e12 
Giga 
1e9 
Mega 
1e6 
Kilo 
1e3 
milli 
1e-3 
Micro 
1e-6 
nano 
1e-9 
pico 
1e-12 
femto 
1e-15 
atto 
1e-18 
Example

EditBase is ebFloat

  • Exponent: to enter the Value 1000 you can enter "1e3" or "e3"
  • Multiplier char: to enter 1000 you can enter "1k" or "k"
  • Bool-Input to Float-, Integer- or hex Edit : use prefix "&",

e.g.: "&101"

  • Hex-Input to Float-, Integer-, or Boolean Edit: use prefix

"&", e.g.: "&FF"

Hierarchy
AbNumEdit.TAbNumEdit
Related Information
Hard-& Software A.Baecker
What do you think about this topic? Send feedback!