Hi guys !!,
I have a form with a pageframe which has 5 pages.
I want to be able to let the user switch pages with
the "page up" and "page down" keys. I tried
creating a method that accept a numeric parameter
1 and -1 to increase or decrease the current
active page and then make the previous or next one current,in the load event of the form I have this
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.
Luis Guzman, MCP
"The only glory most of us have to hope for
is the glory of being normal." Katherine Fulleton Gerould