>An instance of a class can't have fewer members than the class definition itself. That is, you cannot delete members. This is true of Grids, PageFrames, OptionGroups etc. You can always add members (ie more columns, pages, buttons) in the form designer but you can't remove them (or define them as containing fewer members).
>
>HTH,
>DaveR
>
>
>
>Hello All,
>I discovered this natty little feature in VFP 6 today.
>
>To reproduce:
>
>1) Create a form and add a grid ( based on your grid class ).
>2) Close the form.
>3) Modify the grid class making ColumnCount = 2 or whatever.
>4) Save the class.
>5) Open your form make a change to the grid and try to save it.
>6) I get the message "Member object removed - cannot complete the save operation (Error 1756)
>7) Set the grid class back as before ( ColumnCount = -1 ).
>8) Open your form, make a change to the grid and save it.
>9) No problem.
>
>Anyone experienced this?
>
>Regards
>Pete Kane.
David,
I changed the baseclass to ColumnCount = 2, my class instance had ColumnCount = 4, I'm aware you can't remove members which is why I posted the message, I would be grateful if you could try to repeat my findings, BTW any change you make will incur this message, all I did was change the form caption containing a grid of the same class
Thanks a lot
Pete Kane
Regards,
Peter J. Kane
Pete