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

Forms AcceptButton property

P: n/a
I have a form with it's AcceptButton property set to a button on my forms
click event, when I hit enter in runtime on the form, the cursor goes to an
hourglass for a second, as if it were doing something but does not hit the
breakpoint I have set, when I press the button the event procedure code
executes correctly and the break point is hit, what could be the problem...?

TIA

Dan
Nov 21 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
OK I figured this out, I was passing a reference of myself to another form I
was opening, this form modifed the text property on several of the controls
on the page leaving them having focus. I called the focus method of my save
button after using the self reference and this seemed to fix the problem...

Thanks

"Alien2_51" wrote:
I have a form with it's AcceptButton property set to a button on my forms
click event, when I hit enter in runtime on the form, the cursor goes to an
hourglass for a second, as if it were doing something but does not hit the
breakpoint I have set, when I press the button the event procedure code
executes correctly and the break point is hit, what could be the problem...?

TIA

Dan

Nov 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.