Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Programmatically building a grid.
Message
From
30/12/1998 14:37:41
 
 
To
30/12/1998 14:19:34
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00171617
Message ID:
00171652
Views:
28
>>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform