Forms AcceptButton property

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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
 
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
 
Back
Top