General information
Category:
Forms & Form designer
hello tracy
F5 (without the ctrl key pressed) = nkeycode = 115 (i think)
F5 (with the ctrl key pressed) = nkeycode = 98
that works fine on my machine (vfp6 sp 5)
>Just out of curiosity, I would like to know what is causing this behavior or why it occurs. I have a pageframe on a form with 7 pages and I trap for the pageup and pagedwn key in the form's keypress event to switch pages. It works fine. However, I wanted to have the CTRL+F5 key combination perform the same function as pagedown. I entered code in the form's keypress event to trap for it, but it seems that pressing CTRL+F5 never activates the form's keypress for some reason. I ended up having to use ON KEY LABEL in the form's init to call a method of the form (where I put the code to change pages) to do as I needed and then set CTRL+F5 back in the form's unload event. Shouldn't pressing CTRL+F5 activate the form's keypress? I tried adding push key and pop key.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only