General information
Category:
Pictures and Image processing
>>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only