Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
For each doesn't release all forms?
Message
 
 
To
07/10/2010 08:08:53
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01241310
Message ID:
01484312
Views:
56
>>Yes, but I don't like it either. What about backward removal, does it always work? Perhaps it doesn't matter in my case and actually removing from the last item may be better (I'm trying to delete multiple selected items in the Item Tree).
>
>Yes, backward removal will always work:
>
>
>FOR nItem = oCollection.Count TO 1 STEP -1
>  oCollection.Remove(m.nItem)
>ENDFOR
>
>
>Tamar

Thanks, that's what I implemented and it worked well.

Now I have a more complex problem I'm trying to solve - I posted another thread last night.
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