Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid subclassing question
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Grid subclassing question
Miscellaneous
Thread ID:
00665694
Message ID:
00665694
Views:
54
Here's the problem:

Consider 3 grid classes - A,B,C. A is our parent class with 5 columns defined on it. B inherits from A and has one extra column. C also inherits from A with two extra columns on it. What we would like to do is add a column to class A and have the other two classes inherit the new column since it will be a column that would be used for all of our grids.

We're finding that this simple inheritance after the fact doesn't work - probably because the children have already overridden the grid. Does anyone know of a simple way to achieve what we're after without having to redo all the work in the children classes? Maybe even a VCX hack?

Laterness,
Jon
Jon Rosenbaum
Devcon Drummer
Next
Reply
Map
View

Click here to load this message in the networking platform