Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Way to find innermost object on a form..
Message
 
To
13/11/1997 14:41:40
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00060033
Message ID:
00062799
Views:
23
>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

Hi Ken!

You might try to use coverage logging. To do that, you'd have to run your app in VFP5. (But weren't you about to do that anyway?).

The coverage log is a real PITA, but it's very helpful too. It logs every line that was executed and also how long it took. I think some people even wrote an analyzer that makes this process easier.

Greetings
Markus




Markus Egger
President, EPS Software Corp
Author, Advanced Object Oriented Programming with VFP6
Publisher, CoDe Magazine
Microsoft MVP since 1995
Previous
Reply
Map
View

Click here to load this message in the networking platform