Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Subclassing the Foxpro Base Classes...
Message
From
19/07/1999 20:58:47
 
 
To
19/07/1999 20:23:14
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00243353
Message ID:
00243390
Views:
23
>>
>>Are you adding the your subclassed textboxes to the form or the standard text boxes?
>
>both...
>
>In desperation I modified the vfp standard text box base class just to see if my textboxes would inherit the change...
>
>Have I got the source of the base classes correct? I've been working on the assumption that they are the ones contained in the vfp98\ffc directory. If they are somewhere else, that would explain the non effect of the changes I made!
>
>Harry

Nope... base classes are built into VFP... they aren't in a library. But, if you want a first level subclass of all the visual base classes, you can use _base.vcx which is in the FFC and is a direct subclass of every class.

Marim Lasiky (sp) suggested that you copy base to _mybase and then redefine all of the classes in _base to subclass from _mybase. That way, when VFP ships a new _base, all you will have to do is redefine on library and not loose any code or settings you would put in there, since you would now put those settings/code in _mybase.

BOb
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform