Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Way to find innermost object on a form..
Message
From
13/11/1997 14:57:04
 
 
To
13/11/1997 14:45:55
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00060033
Message ID:
00060046
Views:
27
>>>Is there a way to find out which object in a form is the first to fire its INIT method? I have a form with a pageframe with 5 pages ( I know this isn't necessarily the best way to do this) and I am having trouble with the form loading. The problem is that it takes anywhere from 3 to 5 minutes to load. I have already checked in the DE and found that to not be the problem. The DE is set almost instantly upon INIT. I had set a SUSPEND statement in the form's INIT method, but the speed problem is occurring between the DE's INIT and the form's INIT. How can I tell which object is the first to fire its init? I need to trace through from this point to find my problem...
>>>
>>>
>>>TIA
>>
>>Add
>>Wait window this.name nowait
>>into all suspected inits and run the form.
>Thanks! I'll try it...

That's a good strategy to test which event is taking all the time; to see the firing order of all events, open the debugger and under the tools menu item, choose event tracking. Turn event tracking on and set the output to the output window (or to a file if you wish) After you run the form you can come back and see all the events that fired, in the order they fired.
Erik Moore
Clientelligence
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform