>>>>Is there a way to make mygrid class contain mytextbox class when creating a grid instead of the VFP textbox class?
>>>
>>>You can do it either visually (add object to column in class designer)
>>
>>There are no columns in grid class to add object to.
>
>but you can make them resetting Grid.ColumnCount
Yeah, but this is a two-edge sword. Once you put the grid on a form you can *add* colums to it, but you cannot remove the columns that were created by the "class"...
Now then, *changing* the textbox to mytextbox is easy enough to do manually...provided you don't have a grid with 1,234,693 columns ;)