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

keypress, keyup, and keydown get executed twice 2

Status
Not open for further replies.

Devin

Programmer
Dec 17, 2001
42
US
I can't figure out why my Form_keypress, etc. events all happen twice in a row every time I press a key. (The Form's keypreview property is set to True.) Has anyone run into this?
 
This use to be a problem when a SSTab, SSFrame or SSPanel was on the form and had the focus. But It was corrected in one of the service packs since last year. Download the latest VB service pack (Sp5) from MS.
 
Ohhhhh! I AM using SSPanel, and I haven't downloaded a service pack ever. It's always nice to find out that something is a compiler/component bug and not my own stupidity! Thanks very much.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top