| Reply | « Previous Thread | Next Thread » |
|
Hi. Im just trying to have a sample app that has a number of tabs, in one tab i want to allow the user to simple enter in a search term into a text field..
i can enter the word into the text field but the tabs are not there. This means that if a user wanted to move to a different tab without entering something into the field they cant. The text box takes priority.. if that makes sense. how can i simple display in my tab.. the text field. here is the code i have for the particular tab. ======================= # define application 1: listbox app # define the list of items as pop-up menu content M1 = [u"Enter Search Terms: "] def forming(): data = [(u'Search:','text', u'Nokia')] # set the view/edit mode of the form flags = appuifw.FFormEditModeOnly # creates the form f = appuifw.Form(data, flags) # make the form visible on the UI f.execute() # create the listbox callback handler def handler_M1(): print "ola" # FOR DEBUGGING # create the pop-up menu app1 = appuifw.Listbox(M1, handler_M1) # call the function that creates the form forming() def exit_key_handler(): app_lock.signal() ===================== so basically, i want to have the tabs visible.. and the text field displayed, so that the user can enter a term.... if they want to. screen should look like ---------- <tab1><tab2> ---------- Enter Search Term: [text field] ------------------------------- instead of enter search term: !! Thanks Guys, Sorry if this is a silly question havent had much time using this yet Neil |
|
Hello neil,
Your code to create the Form is fine. If you want to use tabs as you have mentioned have a look at an example here I think thats where you ported the Form code from ![]() However I can't understand what you mean by last few lines. Quote:
Croozeus PS: Use the CODE tags(#) to post code. By doing this it makes sure that your indentations in the code are preserved. |
|
yep i took that, but now trying to adapt it.. i mean that yes the form is correct. But when the text field comes up it sort of takes over the app. as in a user HAS to enter into the field before they can move between tabs. i just want to have the text field there but the user can switch between tabs whenever they want without having to enter something if they dont want to.
It seems hard to explain.. if its not clear do not worry im sure ill get it, Thanks AGAIN croozeus!! ![]() |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Rate This Thread | |
| Thread | Thread Starter | Forum | Replies | Last Post |
|---|---|---|---|---|
| Nokia PCSuite setup trouble: the ultimate solution? | surfmaxx | PC Suite API and PC Connectivity SDK | 1 | 2006-10-04 10:52 |
| trouble with a CAknPopupList | shadow-2005 | General Symbian C++ | 0 | 2006-02-08 05:49 |
| trouble with the screen in nokia6600 | mattalyc | General Discussion | 0 | 2004-08-10 18:37 |
| Jpeg-Support - any trouble with special models | Frankee | Mobile Java General | 0 | 2004-02-16 11:56 |
| P800 J2ME game. i'm in trouble because of keypad | shahzad73 | Mobile Java General | 0 | 2002-11-21 04:22 |