Field Name
STD_NUM
Description
How to visualize a field as a SpinEdit Box on a form.
Through the Field Component source add a spin edit visualization. Save the field and then use the spinedit visualization on a form.
Field Source
*
Begin_Com Role(*EXTENDS #PRIM_OBJT)
Begin_Com Role(*Visual #PRIM_EVEF) Name(#VisualEdit) Height(19) Usepicklist(False) Width(262)
End_Com
Begin_Com Role(*Visual #PRIM_EVSE) Name(#VisualSpinEdit) Defaultvisual(True) Height(19) Usepicklist(False) Width(262)
End_Com
End_Com
Form Source
Function Options(*DIRECT)
Begin_Com Role(*EXTENDS #PRIM_FORM) Clientheight(108) Clientwidth(492) Height(135) Left(304) Top(155)
Define_Com Class(#STD_NUM.Visual) Name(#STD_NUM) Displayposition(1) Left(96) Parent(#COM_OWNER) Tabposition(1) Top(32)
End_Com
Appearance
Note: The SpinEdit visualization name is VisualSpinEdit. It also has DefaultVisual(TRUE) set. This means that the SpinEdit can be accesed on a form either of the following ways:
Define_Com Class(#STD_NUM.Visual) Name(#STD_NUM) Displayposition(1) Left(96) Parent(#COM_OWNER) Tabposition(1) Top(32)
or
Define_Com Class(#STD_NUM.VisualSpinEdit) Name(#STD_NUM) Displayposition(1) Left(96) Parent(#COM_OWNER) Tabposition(1) Top(32)