Hi!

1.
if I have a text area created by appuifw,and i want save the text,what's the property that I can use?

Code:
a = appuifw.text()

  temp=appuifw.query(u"Filename:",'text')
  name=temp+".txt"
  destination="c:\\"+name
  file=open(destination,'w')
  file.write(a.text??)
  file.close()
2.
how can I set a Background picture for the textarea,like SMS editor?

3.

Code:
colo = [u'Black',u'Red',u'Green',u'Blue']
f = appuifw.popup_menu(colo, u'Pick a color')
how can I get the index of the choose?

4.

if I've a text area,how can I set style (uderline,bold etc),for only a word,or some word,or the word that follow the cursor?


thanks for answers and sorry for the bad english