Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Inheritance Pages in Page Frame
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00458076
Message ID:
00458102
Vues:
17
>I have a form class with page frame and two pages in it.
>
>Now I have derived a subclass of the above and have added two more pages to the page frame.
>
>The two new pages do not have the same properties set for the first two namely activate event should refresh the page.
>
>Any way I can make the two new pages inherit from the first two pages.
>
>Regards
>Bhavbhuti

The simple answer is no you can't.

You could create a Page class in a PRG and add it at runtime, then all your pages would have the same settings. Or you could create a custom class and add it to all your pages. When it instantiates, it could set the appropriate properties for you for the pages.

HTH.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform