Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Scrollable region in a form
Message
From
26/04/2010 03:06:39
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01461863
Message ID:
01461975
Views:
35
I now have the grid with my container object added to the column. This displays fine with the default container object appearing for each record in the recordsource cursor.

But now I dont know how to set the properties of the container's objects. I can call a routine using one of the column's DYNAMIC properties but I dont see how to then access the container object for that grid row in order to set it's particular properties according to the data in the grids recordsource.

Any guidance?

TIA




>>>>Hi Thomas,
>>>>
>>>>Can a grid column contain a custom (i.e. my own) container object? If so then my problem is solved :)
>>>>
>>>>
>>>>>Hi Jos,
>>>>>
>>>>>another option would be to use a second 1-column-grid with an image object in its only column.
>>>>>
>>>>>>Hi All,
>>>>>>
>>>>>>I want to create a form which contains a grid on the left side with its own scrollbars and extends top to bottom and about half the width. The grid will resize as the form is re-sized and this this is working. Now I want to display images in a vertical and scrollable region on the right side for the form. What can I use or do to create this region which will allow independent vertical scrolling seperate from the grid or other form controls?
>>>>>>
>>>>>>TIA
>>>
>>>Sure, it can.
>>
>>
>>hmm, but now I'm thinking how do I populate the contents of that container object? Lets say, for simplicity, that the container has 2 text controls. The captions for these text fields must contain the contents of 2 database fields. How to set the caption for each text field for each record in the grid?
>>
>>Update: On reflection I think I got it but welcome your response.
>
>Though I never used container in a grid I think you could do all you ask for just setting one of Dynamic* property of the grid to point some Form/Class method, where you could set everything you want and return the current value of that Dynamic property.
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Previous
Reply
Map
View

Click here to load this message in the networking platform