Number (PRIM_NMBR)

Number Data Class

Ancestors - Data Class (PRIM_DC)Object (PRIM_OBJT)

Details

The number data class  is the base numeric class.
 
For most purposes the use of numeric repository fields is recommended.

Properties

Name Description
AllowSqlNull Support the assignment of *SqlNull
ComponentClassName ComponentClassName is the name of the component's class. Inherited from Object (PRIM_OBJT)
ComponentMembers ComponentMembers provides access to all the member components of this component Inherited from Object (PRIM_OBJT)
ComponentPatternName ComponentPatternName is used to qualify the class of the component. Inherited from Object (PRIM_OBJT)
ComponentTag Generic space allowing a value to be stored for the instance Inherited from Object (PRIM_OBJT)
ComponentType ComponentType gives you access to the type information about the component Inherited from Object (PRIM_OBJT)
ComponentTypeName ComponentTypeName is the fully qualified name of the component's class. Inherited from Object (PRIM_OBJT)
Decimals Number of decimal places
DisplayFormat Edit code to be used
Length Specifies the length of the number including decimal places
Name Name identifies the component Inherited from Object (PRIM_OBJT)
Owner Owner owns this component Inherited from Object (PRIM_OBJT)
Parent The component instance to which this instance is attached. The visual container for a control or the collector of a set of child instances Inherited from Object (PRIM_OBJT)
Picklist Reference to a Picklist associated with the data class
Text Text contains the formatted data currently showing in the edit area
UsePicklist Controls whether the values in the picklist are enforced Inherited from Data Class (PRIM_DC)
Value Value of the data class

Events

Name Description
CreateInstance CreateInstance is signalled when an instance of a component is created Inherited from Number (PRIM_NMBR)
DestroyInstance DestroyInstance is signalled when an instance of a component is about to be destroyed Inherited from Number (PRIM_NMBR)

Methods

Name Description
GetValue Get the current component value Inherited from Data Class (PRIM_DC)
Value
SetValue Set Field value Inherited from Data Class (PRIM_DC)
Result, Value

See also

All Component Classes

Technical Reference

LANSA Version 15, April 2020