Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
For each oControl loop - do we need to set oControl=.Nul
Message
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00346661
Message ID:
01370287
Views:
17
>Erik,
>
>>>Hi everybody,
>>>
>>>I'm just studying code for multiselgrd and I found, that Cetin uses this code:
>>>
>>>for each oControl in this.parent.controls
>>>    some code
>>>endfor
>>>oControl=.null.
>>>
>>>
>>>My question is: do we need to set oControl to .null. after finishing loop?
>>
>>No.
>
>So, I have to remove this line of code from his code, right? Or it doesn't hurt anyway?

No, I don't think it hurts :)
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform