Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Object destruction
Message
De
01/02/2014 09:27:34
 
 
À
01/02/2014 09:23:56
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows 8
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Web
Divers
Thread ID:
01592795
Message ID:
01592829
Vues:
67
>>>>
thisform.lockscreen = .t.	    && this one does not (noticeably) save time, but the view is better
>>>>
>>>>lnN = 0
>>>>
>>>>with thisform.oCntPZChart
>>>>	for each loO in .objects
>>>>		wait window m.lcC + padl( m.lnN, 4, '0' ) nowait
>>>>		lnN = m.lnN + 1
>>>>		.removeobject( m.loO.name )
>>>>	next
>>>>endwith
>>>>with thisform.oCntPage1
>>>>	for each loO in .objects
>>>>		wait window m.lcC + padl( m.lnN, 4, '0' ) nowait
>>>>		lnN = m.lnN + 1
>>>>		.removeobject( m.loO.name )
>>>>	next
>>>>endwith
>>>
>>>And without wait window? Should be even faster.
>>
>>Has been tested. The performance was totally similar. Do this test:
>>
for n = 1 to 10000
>>   wait window str(n) nowait
>>next
>>On my machine it is ready within one ... second.
>
>Does making the window invisible before closing help?

Also tried. There was no effect at all.
Also tried: lockscreen True. The visual effect is better, but no measurable performance gains, to my surprise.
Groet,
Peter de Valença

Constructive frustration is the breeding ground of genius.
If there’s no willingness to moderate for the sake of good debate, then I have no willingness to debate at all.
Let's develop superb standards that will end the holy wars.
"There are three types of people: Alphas and Betas", said the beta decisively.
If you find this message rude or offensive or stupid, please take a step away from the keyboard and try to think calmly about an eventual a possible alternative explanation of my message.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform