Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calling Methods with PgUp andPgDn.
Message
From
12/11/1996 16:03:53
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00012052
Message ID:
00012074
Views:
35
>ON KEY LABEL PGUP DO trap_key WITH -1
>ON KEY LABEL PGDN DO trap_key WITH 1
>but when I press the PgUp or PgDn Key it tells me
>program trap_key.prg not found. How can I call a
>method with PgUp and PgDn ?
>Any sugestion will be apreciated ?
>Thanks in advance.

basically you have to specify the full path to the method
anyway instaed of using OKL
you can set the KEYPREVIEW property of the form to .T.
and deal with this in the forms keypress event

Arnon
Previous
Reply
Map
View

Click here to load this message in the networking platform