>Dragan,
>
>You cannot remove a member of a class from an instance of that class. You can add a new control to the column and set it as the currentcontrol and forget about the textbox.
At design time you can't, for sure. I remember I tried to do that at runtime, but I got some results which seemed rather doubtful - the extra objects still remained there, or were .null. or something. I worked around it by declaring a class with no objects at all (in my case, it was a commandgroup with no buttons, or an optiongroup with only one button and tricks like that), and addobject()ed the necessary number of objects at runtime. This included one grid class with 0 columns.
May I have my old soapbox for a moment... thank you. Ceterum censeo, I think pageframe, buttongroups and grids should have an ability to have a customizable class of objects which are automatically added when WhateverCount is increased, provided their baseclass is appropriate.