Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding existing control to form
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00942668
Message ID:
00942675
Vues:
19
Geoff,

Is this control something you have done in a VFP class itself? Is it in a .prg or in a .vcx classlib?

If it's in a classlib reuse is trivial. You can drag the class out of the project manager and drop it onto your form. Or you can point the form controls toolbar at your classlib and pick it from there. I prefer to get them from the PM itself because the toolbar is pretty useless when you have lots of classes derived from a few baseclasses.

If it's in a prg you can only use it at runtime by using thisform.AddObject() to add it to the form. But you can pretty easily convert your prg class to a visual class to make it useable at design time.

>If have a pre-existing control can I add it to my form?
>
>Is it possible to share the same contol between forms?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform