I am creating Form for numeric input using NUMBER_CONTROL as follows:
Form works ok. However, when I select NUMBER_CONTROL its contents also gets selected and when I press Left-Right, control's value decreases-increases by 1.Code:RESOURCE FORM r_east_north_form { flags = EEikFormUseDoubleSpacedFormat | EEikFormEditModeOnly; items = { DLG_LINE { type = EEikCtNumberEditor; prompt = qtn_enter_east_text; id = EOrbFormEastControl; itemflags = EEikDlgItemTakesEnterKey | EEikDlgItemOfferAllHotKeys; control = NUMBER_EDITOR { min = INT_MIN; max = INT_MAX; }; tooltip = qtn_aknexform_hint_text_number; }, DLG_LINE ...
My app should work with big different numbers and I want behavior similar to Contacts phone number editor. Left-Right buttons should move cursor allowing user to delete or insert digit at the desired position
How can I do this?



