This control supports editing a single integer value. If a number is entered which is not within the range specified by the maximum and minimum control values it is automatically reset to the nearest allowable value.
The editor has an associated resource struct NUMBER_EDITOR and control factory identifier EEikCtNumberEditor.
This function should be used as the first stage in two stage construction, followed by a call to either ConstructFromResourceL() to initialise the editor's field values from a resource file, or ConstructL() if no resource file is used.
The function reads the maximum and minimum editor values from a NUMBER_EDITOR resource, and sets the initial number to be the same as the maximum value.
Parameters:
aResourceReader
A resource file reader.
IMPORT_C void CEikNumberEditor::ConstructL
(
TInt
aMinimumValue,
TInt
aMaximumValue,
TInt
aInitialValue
)
Second-phase constructor.
Completes the construction of an integer editor. It should be called by container only if the editor is not constructed from a resource.
Sets the minimum and maximum values that can be entered into the editor, and the initial value.