Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Images in grid
Message
From
22/06/2006 10:05:15
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
22/06/2006 09:47:46
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01130802
Message ID:
01130805
Views:
63
>Hi All. I have a grid on a form related to a table. I have added an image control to column 1. I have removed the textbox that was in column 1. Each record in the table contains a bmp file name. How do I make the bmp image for each record appear in grid.column1 for each row of the table? I tried the pictureval and picture properties but can't seem to make it work?

Lemme see. I haven't worked specifically with pictures, but in general, to activate your new control, you have to change Column.CurrentControl.

To show the picture in all rows, you will also have to change Column.Sparse = .F.; otherwise, it will only show only when the row (or cell?) is active.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform