Left right keys on smartphone app

D

dev15

Hi, i have a VB .net cf app. on the landscape qvga SP WM5 my app has
the checkboxes laid out in horizontal and vertical rows. In this
configuration i want to control which checkbox is selected when the
left right keys are pressed on joystick.

Its just that the default action is the up/down keys work and the left/right
works same as central keydown. How can i get the left/right keys to work
the way i want?

Thanks
 
G

Guest

Try setting the key preview on the form to true and then intercept the key
down event. You can intercept the up, down, left or right keys and then
program in the behavior you want. You can use the SelectNextControl method
of the Control class to move to the next control on your form.

Rick D.
Contractor
 
D

dev15

Thanks , sorry should have mentioned I am using CF 1 Sp3 so don't have the
KeyPreview field on the form.
Is there an alteranative option to do this with this version of the CF?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top