Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Quickest way of removing all fields in a container
Message
De
24/08/2008 22:47:05
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
 
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:
01341422
Vues:
12
>Hi Gregory
>
>Yeah, thought the second way was the best, but will have to subclass the control.

Subclassing can be done even programmatically and on-the-fly, if you must (generate a prg with the subclass, newobject() from a class defined in it), but the additional benefit of it is that you have to think it over... since any answer here will be "depends on what you're doing".

We've gone a long way from vFP5, creating new objects is fast. If you think you may be reusing some objects, then you just keep creating them as needed, hiding them when not, and when coming to create again, check if you already got one that you can use and just show it. It may also depend on what's your controlsource for them, if any - that's where it largely depends on what you're doing.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform