I have reviewed the many excellent posts on settings lists and have reviewed the SettingsList SDK example. However I am left with the following questions:
1. The SettingsList example includes an Enum Text settings list which allows the user to define an "other" option (see resource snippets below).
a) Is it possible to set the default input mode to *numeric* for the user defined option in the resource file?
b) Is it possible to specify AVKON_INTEGER_EDWIN for the user defined option editor?
c) If (a) or (b) not possible, is it possible to set the input mode dynamically?
yes inserting INTEGER is easy as leethomso said - is his example will not work write here and i will send you complete code for it. But I have also problems with setting lists, please if you have any idea how this could be sovled answer me:
a) when user edit text he must type at least one character, oterwise the 'OK' button disappear, I want allow also no text entry....
b) I need only ASCII chars to be edited, not any national characters.....
Thanks baranidm, but the suggestion does not work for settings lists that allow user defined entries...
"BAFL 15" panic is generated (raised by TResourceReader).
I can use "AVKON_INTEGER_EDWIN r_numericeditor" as you suggest in settings lists that *do not* allow user defined entries, but not for settings lists that *do* allow user defined entries.
Can you think of another way to set the default input mode to numeric in the resource file? Or dynamically?
Finally, in regards to my original question #2 - where are the specs for resource files, RESOURCE statement, resource names and their valid members, etc?
I am trying to understand a specific type of Settings List: Enumerated Text which *allows a user defined entry*. It appears the responses and code examples received do not address this type of Settings List.
I am going to start a new thread which outlines my problem more clearly. Thanks again for your responses.