Do you many controls on this form?
>Hi Eric,
>
>I have made a test and traced the code on : the cursor put at the textbox then click another tab, and the trace start from textbox's lost focus.
>
>I saw that the system takes around 5-7 secs to go to SSTab1.click after the system finished the code at textbox1.lostfocus. And it is also happening in design mode, have u experienced it before?
>
>Thanks
>Aston
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com