×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Regular Contributor
    Join Date
    Oct 2007
    Posts
    90

    How to clear content of native input-system

    Hi to all,

    I need your help

    In my application there is a Form with the "refresh" method that I call before to view the Form.

    In this form there are two TextField (It is class of Polish Framework that extends StringItem) as follows:


    Code:

    private TextField subject;
    private TextField text;
    {.........
    //#style .formItemNoDirectInput
    subject = new TextField(null, null, 255, TextField.ANY);
    subject.setInputMode(TextField.MODE_NATIVE);
    subject.setShowInputInfo(true);
    //#style .formItemNoDirectInput
    text = new TextField(null, null, 50000, TextField.ANY);
    text.setInputMode(TextField.MODE_NATIVE);
    text.setShowInputInfo(false);
    ........
    }



    I want to clear the "native input-system" before my application shows the Form but I don't know how to have a referece to the native input-system of the underlying OS.

    It is necessary because the "native input-system" always shows the old text, written by the user.

    thank you in advance

    Luigi

  2. #2
    Nokia Developer Champion
    Join Date
    Nov 2007
    Location
    Rome, Italy
    Posts
    2,406

    Re: How to clear content of native input-system

    Hi Luigi,

    I'm not sure if I've understood the problem, but can't you simply use TextField setters method (like setString()) to set/reset field value when you need it?

    Pit

  3. #3
    Regular Contributor
    Join Date
    Oct 2007
    Posts
    90

    Re: How to clear content of native input-system

    Quote Originally Posted by jappit View Post
    Hi Luigi,

    I'm not sure if I've understood the problem, but can't you simply use TextField setters method (like setString()) to set/reset field value when you need it?

    Pit
    You understoond the problem. I used setString(...) but TextField and the native input-system aren't always alined.

Similar Threads

  1. how to clear content text of CEikEdwin
    By JackSu in forum Symbian User Interface
    Replies: 9
    Last Post: 2009-05-07, 11:53
  2. Mobile Podcasting - will it happen?
    By mobile monte in forum News and Announcements
    Replies: 0
    Last Post: 2006-09-22, 23:45
  3. How can i write DRM enabled content distribution system???
    By Soe Thu Aung in forum Digital Rights Management & Content Downloading
    Replies: 6
    Last Post: 2005-01-24, 03:18
  4. System Help with nokia pc connectivity SDK
    By gotka in forum PC Suite API and PC Connectivity SDK
    Replies: 4
    Last Post: 2004-07-06, 09:56
  5. subscribing to Analog Input changes
    By fernanfr in forum Nokia M2M
    Replies: 1
    Last Post: 2003-03-04, 10:32

Posting Permissions

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