Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can Grids Show Images & Data well ??
Message
From
15/12/2000 18:28:15
Nicholas Brick
Procam Systems Ltd
Cork, Ireland
 
General information
Forum:
Visual FoxPro
Category:
Pictures and Image processing
Miscellaneous
Thread ID:
00452643
Message ID:
00454284
Views:
20
>>There is clearly a knack (which I do not possess) to getting VFP Grids to show images as well as data.
>>Anyone know of a good article or a simple little trick ?
>
>You need to use the DynamicCurrentControl event to refresh your column of pictures. We use a container which has an image control on it to give us the size control (stretch as you indicate). The container with empty image is the parent to all possibilities (images) that can be displayed. The DynamicCurrentControl is set to call a method in the grid which will evaluate your conditions and return the control with the appropriate image for display in the column.
>
>Grid.Column1.DynamicCurrentControl = 'THIS.Parent.WhatPicture(Cursor.Value....)'
>
>Works for us.
>
>Steve


Thanks for that Steve, works for me too. Simple & Sweet !
Apologies for the delay in replying. I had a good reply from Cetin earlier and took a rest :)

Thanks again

Nick
Previous
Reply
Map
View

Click here to load this message in the networking platform