Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating grid programatically
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Creating grid programatically
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01300067
Message ID:
01300067
Views:
68
I have a grid on a form. The grid has just one column which is a container. This container has several controls (textboxes, labels, etc). Basically this is my way of creating a multi-line-field grid (don't know if this is the correct term). All works fine.

But now I need to create/rebuild this grid programmatically. The problem is that when the cursor to which the controls in the grid are bound is closed and then reinitiated again, the grid no longer has the container. Instead, it has all the columns of for the field.

How do I "recreate" the grid again so it would still have just one container?

Thank you in advance for any help.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Next
Reply
Map
View

Click here to load this message in the networking platform