Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Object destruction
Message
From
02/02/2014 17:30:45
 
 
To
02/02/2014 14:01:07
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows 8
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Web
Miscellaneous
Thread ID:
01592795
Message ID:
01592957
Views:
68
Nice! Thanks.

>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...
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.
Previous
Reply
Map
View

Click here to load this message in the networking platform