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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Keypreview not previewing

Status
Not open for further replies.

sjc

IS-IT--Management
Jun 7, 2001
41
GB
Is there any reason why Keypreview on a form won't work ?

I have a real simple form (no text, sizable tool window, no control, min or max buttons, a combo box and that's pretty much it.)

Keypreview on the form is on and I have no key handling event handlers assigned to the combo box.
Typing in the combo box does not fire the keypreview event handler of the form.

I'm trying to stop the annoying beep when pressing enter in the combo box and I thought keypreview would do the trick.

Thanks for any help
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top