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.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only