Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Subclassing a Control On the Fly?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00064080
Message ID:
00064094
Vues:
32
>I have a textbox that creates an image of itself on init. This new textbox is
>made invisible. Is there an easy way to set the new textbox properties to
>be the same as the original one?

I don't think so. This, BTW isn't subclassing: it's cloning. However, you
could put the code in your textbox subclass: there is a small number
of properties that is likely to change from time to time, so you could
loop through those alone, rather than all of them. Also, make sure your
textbox subclass has as many properties as possible set, so that you don't
have to set the same properties over and over in your forms....

HTH,
My blog
My consulting page
My home page

Member of the Trim Your Auto-Quote Campaign!
What's another word for thesaurus?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform