Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid subclassing question
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Grid subclassing question
Divers
Thread ID:
00665694
Message ID:
00665694
Vues:
53
Here's the problem:

Consider 3 grid classes - A,B,C. A is our parent class with 5 columns defined on it. B inherits from A and has one extra column. C also inherits from A with two extra columns on it. What we would like to do is add a column to class A and have the other two classes inherit the new column since it will be a column that would be used for all of our grids.

We're finding that this simple inheritance after the fact doesn't work - probably because the children have already overridden the grid. Does anyone know of a simple way to achieve what we're after without having to redo all the work in the children classes? Maybe even a VCX hack?

Laterness,
Jon
Jon Rosenbaum
Devcon Drummer
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform