Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
AddObject from a Grids
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00402086
Message ID:
00402280
Vues:
14
>I try to Add an Object to a column in a grid like:
>
>THIS.COLUMNS(THIS.COLUMNCOUNT).ADDOBJECT("myClass","Mysubclass")
>
>and the program gave me an error that said: Unable to find class .
>
>I include SET CLASSLIB TO ADDITIVE but still doesn't work.
>
>What i wanna do is change the regular textbox of the column with a textbox class i create
>
>Thanks,


Franciso,

I addition to the excellent code, Ed provided, you can look at Help for NewObject method, if you're using VFP6.0. It allows use to avoid set classlib hassle...
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform