PRB: "Member Column<n> is a class member" Error MessageLast reviewed: April 4, 1996Article ID: Q130414 |
The information in this article applies to:
SYMPTOMSChanging the ColumnCount property of a grid class, subclassed onto a form, to a value less than the one already set for the grid class when it was created results in this error:
Member COLUMN<n> is a class member. CAUSEYou cannot delete members from an instantiated object that are members of the base class.
STATUSThis behavior is by design.
MORE INFORMATIONWhen you insert a Grid class into a form, you cannot change the ColumnCount property to a value less than the one that was set when the Grid class was created. If you do so, the "Member COLUMN<n> is a class member" error message is displayed. In this error, <n> is a number that is one greater than the ColumnCount value you are trying to set for the Grid class in the form. For example if ColumnCount for the Grid class was set to 3 when it was created, and you change it to 2, 1, or 0 when placed in a form, then the value of <n> in the error message will be 3, 2, or 1 respectively.
Steps to Reproduce Behavior
|
Additional reference words: 3.00 VFoxWin
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |