Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Copy methods and properties from one form to another
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00633623
Message ID:
00633647
Vues:
23
>Hi everybody,
>
>I have a form which is based on class which includes pageframe. This form has bunch of own properties and methods.
>
>I want to create another form based on another class (which doesn't have pageframe as a member), but this form should have all properties and methods as the first form. (E.g I want to re-design this form using another classlibrary).
>
>I put pageframe on the form, set pages to be 4, as on the first form, but now I'm thinking, how can I automate the process of copying properties and methods.
>
>Do you have ideas?
>
>Thanks in advance.

I would save existing form under new name, open it in Form Designer and remove all objects you don't need anymore. After that you can use Class Browser to redifine base classes for the form and objects on it.
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform