Hi All,

I am using QML TextInput control. I want to validate the entered text (only 
alphanumeric is allowed)
so i wrote code like this –
if ( ( event.key >= Qt.Key_A ) && ( event.key <= Qt.Key_Z ) ) { event.accepted 
= false; } else if ( ( event.key >= Qt.Key_0 ) && ( event.key <= Qt.Key_9 ) ) { 
event.accepted = false; }

Please note my underlying OS is MeeGo 1.1.80.6 and test machine is Lenove 
S10-3t netbook.
This code is working fine when i am using netbook’s keyboard but when i am 
using virtual keyboard then this code is not working.

Anybody have an idea?

Regards,
Meraj Ansari

"DISCLAIMER: This message is proprietary to Aricent and is intended solely for 
the use of the individual to whom it is addressed. It may contain privileged or 
confidential information and should not be circulated or used for any purpose 
other than for what it is intended. If you have received this message in error, 
please notify the originator immediately. If you are not the intended 
recipient, you are notified that you are strictly prohibited from using, 
copying, altering, or disclosing the contents of this message. Aricent accepts 
no responsibility for loss or damage arising from the use of the information 
transmitted by this email including damage from virus."
_______________________________________________
MeeGo-dev mailing list
[email protected]
http://lists.meego.com/listinfo/meego-dev
http://wiki.meego.com/Mailing_list_guidelines

Reply via email to