Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Object destruction
Message
De
02/02/2014 14:01:07
 
 
À
02/02/2014 12:23:16
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:
01592949
Vues:
55
I believe .removeObject() will be best, but if you decide to assign null to object references, at least do it with the least amount of lines:

>
*	None of the code hereunder helped in speeding up destruction.
>
>*thisform.lockscreen = .t.
>*thisform.visible = .f.
>
>*!*	with thisform
>*!*		with .oCntPage1
                        Store Null To;
>*!*			.cntPZChart.oDay;
>*!*			, .cntPZChart.oShift;
>*!*			, .cntViewSlider.oPZ;
>*!*			, .cntViewSlider.oShift;
>*!*			, .cntViewSlider.oWrk;
>*!*			, .cntPZSlider.oPZ;
>*!*			, .cntPZSlider.oShift;
>*!*			, .cntPZSlider.oWrk;
>*!*		endwith
>*!*	endwith
and so on...
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform