Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Fellow CLASSmates. I need help with classes.
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00287405
Message ID:
00287438
Vues:
19
Hi Steve,

>I saved this code inside a .PRG file called CLASCODE.PRG
>I already have all of my textboxes on my forms and they are all based upon the default textbox class. I can't understand how to take this class definition and incorporate it into my existing textboxes.

I don't think you can visually add a class stored in procedure to a form at design time. What you will have to do, is save your class into a VCX. Then, you can hack your form like this:
USE MyFOrm.SCX
replace class with MyTextBox, classloc with MyLib.vcx ;
    for lower(baseclass) = 'textbox'
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform