Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form Keypress and CTRL+F5
Message
From
25/11/2003 12:06:04
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Form Keypress and CTRL+F5
Miscellaneous
Thread ID:
00853361
Message ID:
00853361
Views:
53
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.
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Next
Reply
Map
View

Click here to load this message in the networking platform