Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Quickest way of removing all fields in a container
Message
 
 
À
24/08/2008 13:00:11
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01341381
Message ID:
01341383
Vues:
14
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform