Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to put image in a grid column ?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01293347
Message ID:
01293402
Views:
46
I'd say images in a grid are to be avoided. You can make it work, no doubt, and Naomi has pointed you to a better solution than Marcia's, but unless the image is small, having it in the grid makes the rest of the grid awkward to work with since the rows become so tall. I use a separate image control to the side of the grid and update that via the AfterRowColChange method. This limits the grid to what it does best and keeps the rows short, which lets the user see more data at once. Not saying you shouldn't do it - there are times when it may be the exact right thing - just mentioning another option.


>So far I created a column with an image instead of a textbox.
>I have a cursor that contains the image in a column (ex.: image1.jpg, image2.jpg, etc...)
>
>I tried to put
>
>WITH THISFORM.wsgrid1
> .RecordSource = "lesrec"
> .Column1.ControlSource = "lesrec.name"
> .Column2.Wsimage1.picture = "lesrec.image"
>ENDWITH
>
>
>It doesn't show the image ?? Any idea why?
>
>Thks
>Eric
eCost.com continues to rip people off
Check their rating at ResellerRatings.com
Previous
Reply
Map
View

Click here to load this message in the networking platform