Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP6 Grid behaviour
Message
De
28/02/2002 06:14:53
 
 
À
28/02/2002 06:12:26
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00626260
Message ID:
00626263
Vues:
12
Hi Gregory

Thanks for response, but I forgot about the When event which is called before Setfocus occurs, that has got code in it which is calling other "slow" methods.

Thanks anyway
Kev

PS 0.82 seconds is still too slow, even with coverage on.

>>Hi
>>
>>I have a grid class based on another grid class.
>>
>>Through coverage profiler, when DODEFAULT() is called from my grid, it takes around 0.82 seconds! There is no class code in the class it's based on, and no other grids take this long.
>>
>>Any ideas? Maybe it's something to do with the Rowsource which is a Select statement.
>>Thanks
>>Kev
>
>Kevin,
>
>I would say that the reason for this is that you do it via the profiler.
>The profiler has to write to the log file while the clock is running
>
>suggest this in your grid, to be more accurate
>
>local InitTime
>InitTime = seconds()
>if( !DoDefault() )
>	return FALSE
>endif
>acti screen
>?this.Name, 'init()', seconds() - InitTime
>
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform