Sven Kochel
|
Posted: 08/27/2003, 5:34 PM |
|
hi@all
i have follow problem.
I use in a database some integer values. now i will change
the value in the grid to a graphic instead the value 1 or 2 or 3 or else.
i will display in the grid a graphic r1.gif or r2.gif.
value 1 shall be visible in the grid also r1.gif (and so on).
i have seen the help file for text colors red to blue or else. but nothing will
work by my examples. please can anybody tell me, how the way is for this ???
regards
Sid61
|
|
|
RonB
|
Posted: 08/28/2003, 4:59 AM |
|
If the naming of the images is as consistent as you seem to imply you could do a before show event on the label and add the following code:
global $gridname
$gridname->labelname->setvalue("<img scr='r" .$gridname->labelname->value .".gif'>");
remember to set the label to html
Ron
|
|
|
|