Edit Box - NumericEditStyle Property

NumericEditStyle controls insert and overtype data entry styles for numbers

Member of Edit Box (PRIM_EDIT)

Data Type - Enumeration

Details

The NumericEditStyle property controls the behaviour of numeric input fields.

Allowed Values

Enum Value Description
Application Defer the property value to the SYS_APPLN.NumericEditStyle property
ATMInsert Entered numbers will insert between existing digits
OverType Entered numbers will overwrite existing digits

Example

Use this simple form example to see the difference between the two entry methods.
Function Options(*Direct)
Begin_Com Role(*EXTENDS #PRIM_form) Height(211) Width(496) Clientwidth(480) Clientheight(172) Left(220) Top(242)
 
   Define_Com Class(#std_num.visual) Name(#OverType) Displayposition(2) Left(8) Parent(#COM_OWNER) Tabposition(2) Top(8) Width(402) Height(21) Usepicklist(False) Numericeditstyle(Overtype) Caption('OverType') Labeltype(Caption)
   Define_Com Class(#std_num.visual) Name(#AtmInsert) Displayposition(1) Left(8) Parent(#COM_OWNER) Tabposition(1) Top(40) Width(402) Height(21) Usepicklist(False) Numericeditstyle(AtmInsert) Caption('AtmInsert') Labeltype(Caption)
 
End_Com

See also

All Component Classes

Technical Reference

LANSA Version 15, April 2020