up arrow, down arrow, left arrow, right arrow 
Author Message
 up arrow, down arrow, left arrow, right arrow

Where do you have you on keydown event?  for the form?  That should work
provided you set frm.KeyPreview = true.


Quote:
> I am trying to intercept the aforementioned keys and am having problems.
> Neither the keydown event nor the keypressed event are invoked for these
> four keys, ironically the only four I care about.

> Any suggestions on how I can do it?

> Thanks,

> Tom



Mon, 02 May 2005 12:19:00 GMT  
 up arrow, down arrow, left arrow, right arrow
If for some reason your arrow keys are not intercepted by keydown you can
also back up to ProcessCmdKey.


Quote:
> Where do you have you on keydown event?  for the form?  That should work
> provided you set frm.KeyPreview = true.



> > I am trying to intercept the aforementioned keys and am having problems.
> > Neither the keydown event nor the keypressed event are invoked for these
> > four keys, ironically the only four I care about.

> > Any suggestions on how I can do it?

> > Thanks,

> > Tom



Mon, 02 May 2005 12:22:29 GMT  
 up arrow, down arrow, left arrow, right arrow
I am trying to intercept the aforementioned keys and am having problems.
Neither the keydown event nor the keypressed event are invoked for these
four keys, ironically the only four I care about.

Any suggestions on how I can do it?

Thanks,

Tom



Mon, 02 May 2005 11:02:52 GMT  
 up arrow, down arrow, left arrow, right arrow
I tried that, but am somewhat clueless.  Any examples floating around there?

Tom

Quote:
> If for some reason your arrow keys are not intercepted by keydown you can
> also back up to ProcessCmdKey.



> > Where do you have you on keydown event?  for the form?  That should work
> > provided you set frm.KeyPreview = true.



> > > I am trying to intercept the aforementioned keys and am having
problems.
> > > Neither the keydown event nor the keypressed event are invoked for
these
> > > four keys, ironically the only four I care about.

> > > Any suggestions on how I can do it?

> > > Thanks,

> > > Tom



Mon, 02 May 2005 20:19:41 GMT  
 up arrow, down arrow, left arrow, right arrow
Yes, the form, and I am pretty sure I have keypreview as true, but I'll
check that.

Tom

Quote:
> Where do you have you on keydown event?  for the form?  That should work
> provided you set frm.KeyPreview = true.



> > I am trying to intercept the aforementioned keys and am having problems.
> > Neither the keydown event nor the keypressed event are invoked for these
> > four keys, ironically the only four I care about.

> > Any suggestions on how I can do it?

> > Thanks,

> > Tom



Mon, 02 May 2005 20:20:02 GMT  
 
 [ 5 post ] 

 Relevant Pages 

1. Up Arrow and Down Arrow...

2. Arrow Up Arrow Down???

3. drop down box and down arrow key

4. Drop Down Combo box with smaller down arrow icon

5. Green arrow in IDE at left side

6. debugging: little green arrow in left margin

7. Newbie Help - disabling the down arrow

8. testign for up/down arrow keys on laptop

9. Can't trap Up/Down Arrows

10. CommandButton / Down Arrow

11. Down Arrow on Button

12. Arrow down in ASCII

 

 
Powered by phpBB® Forum Software