>>>I've got a grid object in a container that only has 1 column in it.
>>>During program execution, I dynamically add columns to the grid with the AddObject method. Everything works fine, but I would like to allow the user to right-click or double-click in the text boxes in the grid. I've placed wait windows in the right-click and double-click events of the grid, and they never fire.
[... snip ...]
I have a program that generates the grid at run-time and it works perfectly. I don't have the source code with me, but I remember there were a lot of steps involved: creating a custom class for the textboxes, adding a column, adding the custom textbox to the colum, setting CurrentControl, Sparse, ControlSource, caption of the column... But it worked great! I had done it in VFP5. The grid also deleted almost all of it's columns and restarted the recreation process when a certain field was changed and I never had any problems with it.
Sylvain Demers