Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using function key in a model form
Message
 
 
To
22/03/2005 11:07:24
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00998097
Message ID:
00998131
Views:
18
>Hi Sergey,
>
>We have a project and everytime we want to create a new record (in whatever form) we press the f5 key. This f5 key triggers a method in the calling form where we put the code behind.
>
>Now i have to create a modal form and like in all forms i want to use the f5 key to create a record in a table.
>
>I know that a modal from doesn't allow to activate/use other forms and menus. So i thought to capture the f5 keypress in the keypress methode of my form. So i put keypreview to .T. and put some code behind the keypress methode.
>
>But now i see that the f5 keypress doesnt trigger the keypress methode of my form.
>
>So i have a big problem.

Do you've ON KEY LABEL F5 in effect?
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform