By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,499 Members | 829 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,499 IT Pros & Developers. It's quick & easy.

Breakpoint on a button Click does not 'break' when button clicked

P: n/a
Hello --

My form's cmdCancel button requires 3 clicks before the code in Cancel_Click

Each click prior to that success moves the highlight to the next field in
the Tab order [a].

I placed a Breakpoint on the first command in the Click event ot cmdCancel.
It is hit after that third click of cmdCancel.

It is not possible to set a global variable on the MouseDown or KeyDown
event of cmdCancel so I can use it to Exit Sub on the Exit event of the
fields in [a].

Can someone suggest a way to find out why movement between fields occurs
instead of immediate execution of cmdCalcel's Click code?

Thanks for any help.

Larry Mehl
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (
Version: 6.0.562 / Virus Database: 354 - Release Date: 1/16/2004
Nov 12 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.