Basic4ppc - Windows Mobile Development  

Go Back   Basic4ppc - Windows Mobile Development > Main Category > Questions & Help Needed
Home Register FAQ Members List Search Today's Posts Mark Forums Read

Questions & Help Needed Post any question regarding Basic4ppc.


turning off hardkey interception


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-03-2009, 11:11 PM
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, 06:23 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 4,533
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)
__________________
Basic4ppc reference list
Reply With Quote
  #3 (permalink)  
Old 07-04-2009, 06: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 On
Pingbacks are On
Refbacks are On

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


All times are GMT. The time now is 08:09 AM.


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