Bug: it appear on my 6600, not in emulator. OS V 4.09.01 - 26.2.04, python 1.1 prealpha
This very simple script:
When I push the right arrow, font goes down to default.Code:import appuifw import e32 def exit_key_hand(): app_lock.signal() app_lock = e32.Ao_lock() old=appuifw.app.title appuifw.app.title=u'Title' tx=appuifw.Text() tx.color=(0,0,128) tx.font=u'LatinBold17' tx.set(u'default') tx.set_pos(0) appuifw.app.body=tx appuifw.app.exit_key_handler=exit_key_hand lmenu=[(u"Exit, don't save",exit_key_hand)] appuifw.app.menu=lmenu app_lock.wait() appuifw.app.title=old appuifw.app.body=None appuifw.app.exit_key_handler=None
It appears if text is a only word w/o spaces. If I put the line:
tx.set(u'default text') instead of
tx.set(u'default')
it run correctly.
If I put a char into before pushing the arrow, it run correctly.
If I push the dow, left, up arrow before the right one, it run,
Pietro

Reply With Quote

