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
Divers
Thread ID:
00665694
Message ID:
00667092
Vues:
31
Hi Jon,

>>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?

Columns cannot be subclassed visually and changes in controls that reside in containers (which all columns do) cannot be inherited at all. Create the base column behavior that you desire in code (in a PRG file with DEFINE CLASS) and then add the columns that you want to inherit that behavior to the grid at runtime.

pamela
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform