>>>Hi All,
>>> OK, I have a grid that gets populated from different cursors made from different SQL statements. It just depends on what the user wants. I doubt that I can do this but what I am wondering is if there is a way to insert programatically a piece of code into the text box's click event after the grid is populated with information. I only need it for one of the versions of the grid, not all. Anyone have any ideas?
>>
>>Do you realy have to do that? Did you consider alternatives?
>
>The only alternative that I can think of is to do a .RemoveObject('Text1') then do an AddObject(myText, 'TextBox') for the appropriate column, just after I resize the columns. I think I'll give it a try. What do you think?
Hi Winn,
I still have no idea why do you want to change code in the click even at runtime and don't see how RemoveObject/AddObject will help you with that.
--sb--