Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Possible to subclass columns?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01262883
Message ID:
01263275
Vues:
14
Hi Borislav,

Yes, I actually use my own classes and these are actually subclasses of the VMP framework (and those are subclasses of VFP classes). But even given that, the form failed to load after inserting my classes. I suspect that it's because the columns are not records in the .scx and therefore there is no place to redefine which classes the columns inherit from.

Albert

>>Hi Borislav,
>>
>>Thanks for the info. I created a non-visual class and was able to specifiy it in the grid subclass via the MemberClass and MemberClassLibrary properties but it turns out that if I try to do that, the existing forms "choke" when I try to load them - I suspect that this would work if I were designing new forms and then dropping the grid onto the form. For now, it works okay to add some code to the INIT() of the grid to just set the property I need at run time. I have a lot of forms in this app and so it would take too much to reconfigure all the grids.
>>
>>Thanks anyhow...Albert
>
>If you use your own classes for all native subclasses this could be easier job for you. That is why you should never use NATIVE classes, but make you own subclasses.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform