>>I have a grid class that is used for many different tables, so I build it "on the fly". I set the ColumnCount to the number of fields and loop through the columns to change the controls to my own textbox class instead of the VFP baseclass. The problem is, when I display the grid I don't see the text of the cell that has focus. If I leave the controls as the baseclass, it works fine. I set all the properties in my textbox class to match the baseclass but it still doesn't work. And when I RightClick on my textbox, it doesn't execute the code in my class. It's as if the textbox isn't there. Any suggestions?
>>
>>Thanks,
>>Elyse
>
>When you add your own textbox to each column, are you also doing a RemoveObject() on the default column Text1 control? Are you setting the column property CurrentControl to your textbox?
I did a RemoveObject() and then the Add, so I didn't need to set the CurrentControl, but I did need to make the new textbox visible!
Elyse Pomerantz