Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Modifying foundation classes
Message
From
23/05/2003 03:47:10
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
22/05/2003 16:14:23
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00791890
Message ID:
00792084
Views:
20
>I'm using VFP 7.0 foundation classes.
>
>I want to leave the foundation classes alone (so that future updates just replace them with no editing) and just use sub-classes in my projects.
>
>When I discover an error in a foundation class, what is the best way to handle this without upsetting any future updates?
>
>Example:
>_resizable in _controls.vcx has an oversight in LoopThroughControls().
>When it defines BASE_CLASS it doesn't include "Container". I would like to put Container into BASE_CLASS, but obviously when a future update replaces the _controls.vcx file, my change would disappear.
>
>TIA

Bill,
As you said do all your modifications in your subclasses. Write your own LoopThroughControls code to override.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform