Disable page-up page-down keys

W

Wendy

Hi all,
Is there a way to prevent a form from leaving the current
record when you press the Page-up or Page-down keys. I
tried trapping the keystroke by using "On Key Down" and
setting "key preview = Yes" but it dosen't work if the
active control is a Tab-Control. If the active control is
a field IN the Tab-Control then the key preview trap does
work.

Please help

Thanks,
Wendy
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top