Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Quickest way of removing all fields in a container
Message
 
 
To
24/08/2008 13:00:11
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01341381
Message ID:
01341383
Views:
13
Hi Gregory

Yeah, thought the second way was the best, but will have to subclass the control.

Thx


>>I am programmatically adding many fields into a container on my form.
>>
>>At some point, I want to clear all the fields in the container and create a new set based on other criteria.
>>
>>What is the easiest and quickest way of removing the fields in the container?
>>
>>Thanks in advance
>_
>
>(1) There's the removeObject() for each control.
>
>(2) Alternatively, you can remove the whole container and add another one (same class)
>
>I guess (2) may be the fastest. Dunno whether it's the easiest. Both methods are easy
Rob
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform