Hi!
Add new column to base class and rename it to some name other than just default ColumnXXX. Save and close. Then open the VCX file with child grid classes as a DBF file for browsing (VCX is a pure DBF file). Find memo with properties definition for your grids. Increase the value for ColumnCount property in each child.
The problem is because ColumnCount. You added a column in base class, so there is 6 columns now. In class B ColumnCount is also 6 and this cause... no additional column adding/defining when you open that class for editing. You have to fix CoulumnCount manually using way I described (outside of VFP class editor).
Hope this helps.
>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
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.