allowed only number in a field
| Wed, 2008-01-30 12:42 | |
|
Hi,
DLG_LINE
{
type = EAknCtIntegerEdwin;
prompt = "gps task (in second)";
id = idGpsConfiguration;
itemflags = EEikDlgItemTakesEnterKey | EEikDlgItemOfferAllHotKeys;
control = AVKON_INTEGER_EDWIN
{
maxlength = 2;
min = 1;
max = 60;
//numeric_keymap = EAknEditorStandardNumberModeKeymap;
//allowed_input_modes = EAknEditorNumericInputMode;
//default_input_mode = EAknEditorNumericInputMode;
};
},
but this allowed to insert element such as +, E, *, etc Many thanks |
|






Forum posts: 49
I don't think it is possible. Other solution is to filter key events in OfferKeyEventL method and pass only numbers.
Forum posts: 603
Or use HandleControlEventL, or even the event for observing Edwin events.