Hello! I want a way of entering lengthy text. The query is not able to handle lengthy texts. I have you the text UI in the body:
n=appuifw.Text()
appuifw.app.body=n
it works good, but when i put it in a tab application it does not work. I can only type numbers. Please help me out. And if there is another way, do tell me.
here is the code for the tab:
import appuifw
import e32
from graphics import *
import socket
import key_codes
def exit_key_handler():
app_lock.signal()
appuifw.app.title = u"Text"
appuifw.app.menu = [(u"Initialize", exit_key_handler), (u"Sending option",
((u"SEND", exit_key_handler), (u"Send to many", exit_key_handler)))]
n=appuifw.Text()
appuifw.app.body=n
def handle_tab(index):
print u"Hi"
app_lock = e32.Ao_lock()
appuifw.app.set_tabs([u"Receive", u"Send"],handle_tab)
appuifw.app.title = u'Text'
appuifw.app.set_tabs([u"Receive", u"Send"],handle_tab)
appuifw.app.exit_key_handler = exit_key_handler
app_lock.wait()
PLEASE HELP ME OUT!
THANKS A LOT!!

Reply With Quote

