This editor supports editing an integer range. It has two fields; the first represents the lower value and the second the upper value. The second value must be greater than, or equal to, the first.
Minimum and maximum values for the editor are specified during construction. If a number is entered which is not within the editor's minimum and maximum values, it is automatically reset to the nearest allowable value.
The editor has an associated resource struct RANGE_EDITOR and control factory identifier EEikCtRangeEditor.
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.
This function completes construction of a newly-allocated range editor. It sets the minimum and maximum values, initial range and separator text as specified by the resource.
This function completes construction of a range editor. It sets the minimum and maximum values, initial range and separator text. It should be called by the container only if the control is not constructed from a resource file.
Parameters:
aMinimumValue
The minimum value for the range editor.
aMaximumValue
The maximum value for the range editor.
aInitialRange
Struct containing upper and lower range limits. Must be within the minimum and maximum values.
aSeparatorText
The text to be used to separate the numeric values.
Panic:
8 If the initial lower or upper limit is outside the minimum or maximum bounds.