Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Displaying images in a grid
Message
From
26/05/2005 16:05:24
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
MS SQL Server
Miscellaneous
Thread ID:
01017931
Message ID:
01017933
Views:
21
This message has been marked as a message which has helped to the initial question of the thread.
>Hi all, I have a grid in which I'd like to display an image depending on the value of certain field(s) in a cursor. What would be the best way to accomplish with this?
>
>I've thought of adding a image control to the grid's column but can't find the way to bound it to the cursor's field. Any thoughts?

It's tricky - you need one control per image. So, if you need to show 20 different images, you'd need 20 image controls in your column, and the .DynamicCurrentControl would be used to decide which one will show in the current row.

See Re: How To: Display an Icon is a grid row Thread #752161 Message #753722 for a longer discussion (though there's several details that may not relate to your case).

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform