A good way of discovering events order is to place something like the following into each and every single event given by a control.
Debug.Print "Printed from the GOTFOCUS event of Text1 control"
Lines will be outputed to the Immediate Window and you will be able to see the sequence.
What is the WHEN event in VFP?
>Dear All,
>
>When event occours before getting focus in VFP. I need to know an event equalent to when event if exist in VB. Also interested to know the sequence of events firing in VB (textbox).
>
>TIA
>
>Nafees
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com