You Are Here:

Community: Developer Discussion Boards

#1 Old Question execute event when a char is added to a query - 2009-07-04, 13:36

Join Date: Jul 2009
Posts: 22
Mariannu
Offline
Registered User
Can I execute an event every time a char is inserted into a appuifw.query?
Reply With Quote

#2 Old Re: execute event when a char is added to a query - 2009-07-04, 13:39

Join Date: Oct 2007
Posts: 2,841
Location: Deva, Romania
bogdan.galiceanu's Avatar
bogdan.galiceanu
Offline
Forum Nokia Champion
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
Reply With Quote

#3 Old Re: execute event when a char is added to a query - 2009-07-04, 13:41

Join Date: Feb 2008
Posts: 2,542
Location: Bhavnagar, Gujarat, India
Send a message via Yahoo to gaba88 Send a message via Skype™ to gaba88
gaba88's Avatar
gaba88
Offline
Forum Nokia Champion
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.


Gargi Das- http://gargidas.blogsot.com

Forum Nokia Python Wiki


Learn Python at http://mobapps.org/PyS60
Reply With Quote

#4 Old Re: execute event when a char is added to a query - 2009-07-04, 14:06

Join Date: Apr 2009
Posts: 65
nirpsis
Offline
Regular Contributor
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/
Reply With Quote

#5 Old Re: execute event when a char is added to a query - 2009-07-04, 14:19

Join Date: Oct 2007
Posts: 2,841
Location: Deva, Romania
bogdan.galiceanu's Avatar
bogdan.galiceanu
Offline
Forum Nokia Champion
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.
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to debug with Netbeans 5.5 & S60_2nd_FP3_MIDP_SDK GuusDavidson Mobile Java Tools & SDKs 6 2007-11-15 14:20
Nokia 5300 automatically add the "t=xxxxx" parameter into the query string yuxiangz General Browsing 4 2007-10-16 12:21
Notification for the event when a contact is added to a group anupamah General Symbian C++ 4 2006-10-12 10:56
CLogClient::AddEvent doesn't work with new event type imzadi_il General Symbian C++ 0 2006-04-27 16:21
Nokia 3100b - "x-up-destcharset=4" parameter added to querystring in PHP... Oldiesmann Browsing and Mark-ups 0 2005-12-09 18:43

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia