Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Disable the pagedown key

Status
Not open for further replies.

Steven811

Technical User
Apr 15, 2004
76
GB
Hi

In the db I have constructed, when I'm in a form and press the page down key the layout of the form is changed. This is not helpful and I wish to disable this capability, when in Access only.

How can I do this?

Steven811
 
... press the page down key the layout of the form is changed." - sounds like you have some form design issues, that would probably also come into play in other situations too? Could it be some sizing of the form or something?

Anyway, you could try the forms keydown event, something like this:

[tt]if keycode=vbkeypagedown then
keycode=0
end if[/tt]

- also set the forms Key Preview property to Yes.

Roy-Vidar
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top