I have a grid with an image control in the first column. I need to be able to make the image visible for some rows and not for others. Can it be done in VFP 8.0?
I don't think it is possible to do this directly. However there is the property DynamicCurrentControl.
I think if you put 2 images in the column, one of which has no picture and a BackStyle property 1-Opaque (or I suppose you could create an image of that red cross iamge you get on webpages when an image can't be found), you can then use the DynamicCurrentControl to show whichever image is appropriate.
Hope that helps,
Stewart
PS If you want to get the best response to a question, please check out FAQ184-2483 first.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.