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

Reply With Quote


