Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Displaying more than one item in a grid cell
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00067423
Message ID:
00067435
Views:
28
>>>>>>>>>If I bind a container to a column is it possible to add more than one item to that container and display each of those items?
>>>>>>>>
>>>>>>>>Dan, if you mean to place a container instead of (or in addition to) default textbox in the grid column - yes, you can do this.
>>>>>>>>You can check my article in UT KnowledgeBase/Articles/"Yet another approach to the forms and grids"
>>>>>>>>
>>>>>>>
>>>>>>>But it is possible to display 2 (or more) items placed in that container simultaneously for each cell of the grid?
>>>>>>
>>>>>>Yes, if your Column.Sparse = .f.
>>>>>
>>>>>
>>>>>Ok. Sorry, should have checked out the article before replying. Now. I'm having difficulty locating the container class in 3.0b.
>>>>
>>>>What do you mean? Where you cannot find it?
>>>
>>>
>>>It's not on the form controls toolbar.
>>
>>In this case just add the container into appropriate class library in the project:
>>Click New , enter class name, and select Based On - Container.
>
>
>Ok, thanks. I'll do that. Incidently I noticed you mentioned some display anomolies in 3.0. I tried to add a page frame just as a test. When firing a form from within another form, the form behind did not disappear until I clicked on of the cells with a "normal" text box.

Grid control has some display quirks, even in VFP 5.
You caught me at the right moment - I work on form with the container in a grid cell right now... :)
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Reply
Map
View

Click here to load this message in the networking platform