Form Events

For questions and postings not covered by the other forums
ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Form Events

Postby ConvertFromOldNGs » Fri Aug 07, 2009 12:43 pm

by Michael Patricks >> Thu, 11 Nov 2004 8:51:23 GMT

Hi

Does anyone know what the order for events are on a Form? Specifically, when focus from one control moves to another by a mouse click.

Thanks

Danny Sheehan

ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Re: Form Events

Postby ConvertFromOldNGs » Fri Aug 07, 2009 12:43 pm

by rob >> Sun, 14 Nov 2004 21:35:14 GMT

Danny,

I put some write statements in the event methods of two textboxes on the same form (write method.name)
A mouse click on textbox2 resulted in events firing in the following order.

textBox1_mouseMove (multiple)
textBox1_mouseLeave
textBox2_mouseEnter
textBox2_mouseMove (multiple)
textBox2_mouseDown
textBox1_lostFocus
textBox2_gotFocus
textBox2_paint
textBox1_paint
textBox2_mouseUp
textBox2_click
textBox2_mouseMove (multiple)
textBox2_mouseLeave
textBox2_paint
textBox2_lostFocus

Cheers,
Robert


Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 46 guests