×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Regular Contributor
    Join Date
    Jan 2008
    Posts
    56

    how to use appuifw.Text() ?

    i tried using it but i can only write numbers
    how can i write text inside ?

  2. #2
    Super Contributor
    Join Date
    Oct 2007
    Location
    Deva, Romania
    Posts
    3,471

    Re: how to use appuifw.Text() ?

    Here is an example:
    Code:
    import appuifw
    
    t=appuifw.Text()
    appuifw.app.body=t
    
    t.add(u"Text goes here") #It must be unicode
    
    #To read the content of t:
    t.get()

  3. #3
    Regular Contributor
    Join Date
    Jan 2008
    Posts
    56

    Re: how to use appuifw.Text() ?

    yea i test it now and it works on a clean new script
    but when i try to include it in my script i already have code in
    it seems to write numbers only.

    also changing lang doesnt work also on your example,
    i need to go outside like new sms change language there and then
    back to python, any idea?

    Quote Originally Posted by bogdan.galiceanu View Post
    Here is an example:
    Code:
    import appuifw
    
    t=appuifw.Text()
    appuifw.app.body=t
    
    t.add(u"Text goes here") #It must be unicode
    
    #To read the content of t:
    t.get()

  4. #4
    Regular Contributor
    Join Date
    Jan 2008
    Posts
    56

    Re: how to use appuifw.Text() ?

    found the problem, when using tabs, i am only able to write numbers, any idea how to fix that? is it a bug ?

    edit:
    works if i disable tabs when body is Text()
    Last edited by roidayan; 2008-04-29 at 20:39.

Similar Threads

  1. making appuifw.Text readolny
    By rshd1234 in forum Symbian
    Replies: 0
    Last Post: 2008-04-02, 08:05
  2. problem with canvas.text and appuifw.text
    By luke14free in forum Symbian
    Replies: 1
    Last Post: 2006-11-01, 09:43
  3. Formating color, style appuifw.Text not work
    By adywicaksono in forum Symbian
    Replies: 3
    Last Post: 2006-05-03, 06:39
  4. Does appuifw.Text input support normal text?
    By bercobeute in forum Symbian
    Replies: 2
    Last Post: 2006-02-22, 08:43
  5. appuifw.Text() bug ?
    By sznever in forum Symbian
    Replies: 2
    Last Post: 2005-07-05, 14:31

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×