Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Fellow CLASSmates. I need help with classes.
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00287405
Message ID:
00287438
Views:
20
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'
Previous
Reply
Map
View

Click here to load this message in the networking platform