Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
More fun with Grids
Message
 
 
To
19/12/2001 18:16:43
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00596477
Message ID:
00596532
Views:
22
>>>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--
Previous
Reply
Map
View

Click here to load this message in the networking platform