Download the free trial version
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Questions (Windows Mobile)
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Questions (Windows Mobile) Post any question regarding Basic4ppc.

turning off hardkey interception

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-04-2009, 12:11 AM
hlo's Avatar
hlo hlo is offline
Junior Member
 
Join Date: Feb 2009
Posts: 16
Default turning off hardkey interception

I have a program for the smartphone that uses the hardkey routines to intercept the d-pad in a form. by pushing the left and right it scans thru a database. when the file is found a menu button is pressed and that file is editable. only problem is the up and down on the d-pad does not work so i cant move between fields.
is there a way to disable the interception of the d-pad keys and let it go back to the normal way.
thanks, HLO
__________________
HLO, gst mobilesoft of Atlanta
http://gstmobilesoft.com
HTC8900 (ATT Tilt)and Moto Q9h
Reply With Quote
  #2 (permalink)  
Old 07-04-2009, 07:23 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 12,926
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

You can catch the left and right keys with Form_KeyPress event. Use the Door library to set the form's KeyPreview property to true (it is the first example here: Door)
__________________
Basic4android documentation
Reply With Quote
  #3 (permalink)  
Old 07-04-2009, 07:48 PM
hlo's Avatar
hlo hlo is offline
Junior Member
 
Join Date: Feb 2009
Posts: 16
Default

Quote:
Originally Posted by Erel View Post
You can catch the left and right keys with Form_KeyPress event. Use the Door library to set the form's KeyPreview property to true (it is the first example here: Door)
Ah, so the door essentially (among a lot other things) turns events on or off. Good to know.
I guess this is where I need to dig a little deeper into .net
thx, hlo
__________________
HLO, gst mobilesoft of Atlanta
http://gstmobilesoft.com
HTC8900 (ATT Tilt)and Moto Q9h
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Something about Hardkey blackiice Questions (Windows Mobile) 5 06-11-2010 11:10 AM
Turning Status LED on or off Medics Questions (Windows Mobile) 1 06-09-2009 06:25 PM
Hardkey Issue when device wakes up? mikewhite Questions (Windows Mobile) 2 12-31-2008 03:42 PM
turning off the suggested words Ricky D Questions (Windows Mobile) 11 12-04-2008 11:27 AM
Turning text box/label upside down stbi Questions (Windows Mobile) 1 04-16-2008 04:26 PM


All times are GMT. The time now is 03:08 PM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0