Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Show container in a grid
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01659151
Message ID:
01659153
Views:
43
>>Hi,
>>
>>I want to show a container in a grid. I have done it before and it worked. But this one does not work.
>>
>>Here is what I did:
>>
>>I created a container with some labels and textboxes. Then I set the grid column1 currentcontrol to this container. Then I removed the default text control from the grid. So now the grid has just one column with the currentcontrol pointing to the container name. I set the column Sparse to .F. (although I even tried .T. with the same results). I set the grid ColumnCount to 1.
>>
>>When I run the form, the records of the base cursor are shown in the grid with many columns. As if the container within the grid does not exist.
>>
>>What else could I check?
>
>
>Grid.RecordSourceType
>Grid.RecordSource
>Grid.Column1.ControlSource
>
I checked all three above and they are the same, as in the project where it works. But in this, new, project, it does not work. I am sure it is something simple that I am missing.
Thank you.
"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
Previous
Reply
Map
View

Click here to load this message in the networking platform