numberedit Kind property
Return to Introduction  Previous page  Next page
Applies to
acNumberEdit component.  

Declaration
type  
  TacNumberEditKind = (neDec, neHex, neBin);  
 
property Kind: TacNumberEditKind;  

Description
The Kind property selects the numerical format for editing in the acNumberEdit control. The format can be Decimal (neDec, by default), Hexadecimal (neHex) and Binary (neBin).  
 
After specifying the Kind property, user will not able to enter characters which not used to represent the value in specified numerical format. For example, accepted chacters for decimal format is 0123456789; for hexadecimal is 0123456789ABCDEF, and 01 for binary format. The text specified in the Text property will be converted to according format as well.  

See also
MaxValue and Value properties.  
Numerical Conversion routines.