Left right keys on smartphone app

  • Thread starter Thread starter dev15
  • Start date Start date
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
 
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
 
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?
 
Back
Top