×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Jul 2009
    Posts
    22

    Question execute event when a char is added to a query

    Can I execute an event every time a char is inserted into a appuifw.query?

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

    Re: execute event when a char is added to a query

    No, it isn't possible as far as I can tell. The closest thing would be to detect when keys are pressed and if those keys are character keys then execute the event. Here is an article about detecting keypresses: http://wiki.forum.nokia.com/index.ph...sses_in_Python

  3. #3
    Nokia Developer Champion
    Join Date
    Feb 2008
    Location
    Ahmedabad, Gujarat, India
    Posts
    3,852

    Re: execute event when a char is added to a query

    Quote Originally Posted by Mariannu View Post
    Can I execute an event every time a char is inserted into a appuifw.query?
    hello Mariannu

    AFAIK that is not possible unless you press the ok in the query, after that it will return something.

    Hope you got me.

    EDIT: Bogdan has already answered you.

  4. #4
    Regular Contributor
    Join Date
    Apr 2009
    Posts
    65

    Re: execute event when a char is added to a query

    Quote Originally Posted by bogdan.galiceanu View Post
    No, it isn't possible as far as I can tell. The closest thing would be to detect when keys are pressed and if those keys are character keys then execute the event. Here is an article about detecting keypresses: http://wiki.forum.nokia.com/index.ph...sses_in_Python
    How about using a custom canvas query rather than using a appuifw.query? Is it worth the labour?

    The keypress detect doesn't work while the user inputs
    --NirpSis

    http://sites.google.com/site/nirpsis/
    http://nirpsis.blogspot.com/

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

    Re: execute event when a char is added to a query

    Quote Originally Posted by nirpsis View Post
    How about using a custom canvas query rather than using a appuifw.query? Is it worth the labour?

    The keypress detect doesn't work while the user inputs
    Well, that's really for Mariannu to decide. I for one would say it's a lot of work but if nothing else works then it should be tried. He said appuifw.query so that's why I said the only plausible approach is to detect keypresses. It does detect the keys that are being pressed but the input isn't placed in the query, so basically it doesn't work.

Similar Threads

  1. Unable to debug with Netbeans 5.5 & S60_2nd_FP3_MIDP_SDK
    By GuusDavidson in forum Mobile Java Tools & SDKs
    Replies: 6
    Last Post: 2007-11-15, 13:20
  2. Replies: 4
    Last Post: 2006-10-12, 09:56
  3. Replies: 0
    Last Post: 2006-04-27, 15:21
  4. Replies: 0
    Last Post: 2005-12-09, 17:43

Posting Permissions

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