>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
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement