>Larry,
>
>So the acronym when putting a SetFocus in the form's Init is:
>>LIAGS
>>Hmmm ... well, I didn't quite get the functionality as you state it when I tested.
>
>I got LISA, without the "G" (the Form GotFocus):
>
>Load
>Init (all lines of code prior to the SetFocus)
>Gotfocus (of whatever object you did a SetFocus to, not the Form's GotFocus) Rest of Init (any lines of code the SetFocus command)
>Activate
>Show
>
>
Bonnie,
I don't know why our results differed. Did you have some code in the GotFocus of the form?
Instead of using EventTracking, I added StrToFile() commands in each method/event I wanted to track (Show is a method and is not available to Eventlist). My output file looks like this:
Form Init fired: 40054.094
Activate fired: 40054.094
Gotfocus fired: 40054.094
Combo Gotfocus fired: 40054.094
Another Init line fired: 40054.094
Show fired: 40054.094
The numbers represent seconds since midnight.
If you want more information on this topic, Drew Speedie wrote a great article in the March 1999 FoxPro Advisor called
LISA G: Form Instantiation and Other Animals.
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao