|Home » Technical Support » Elevate Web Builder Technical Support » Support Forums » Elevate Web Builder General » View Thread|
|Messages 1 to 3 of 3 total|
|Displaying Icons or Images in a Grid.|
|Wed, Sep 2 2015 3:03 AM||Permanent Link|
Has anyone worked out how to display an image or icon in a TGrid column/row?
I have tried setting the column type to ctImage and ctIcon, but I can't work out how to actually assign an icon or image. I have scanned the help for answers but couldn't find anything in there.
|Wed, Sep 2 2015 3:11 AM||Permanent Link|
Well, I didn't think it would be so simple.
For icons you just specify the icon name in the row as text, eg.
grdTest.Rows := 'OK';
And for images you add the URL as text, eg.
grdTest.Rows := 'http://localhost/images/ok.png';
Here I was looking for some special method or property. It was simpler than I thought.
|Wed, Sep 2 2015 3:54 PM||Permanent Link|
Tim Young [Elevate Software]
Elevate Software, Inc.
<< And for images you add the URL as text, eg. >>
Also, images work like links with respect to supporting a semicolon-delimited set of two values: the first for the URL and the (optional) second for the image hint that is displayed during mouse-overs. With links, it's the first for the URL, and the second for the link text.
This web page was last updated on
Thursday, March 30, 2023 at 10:19 AM
© 2023 Elevate Software, Inc. All Rights Reserved
Questions or comments ? E-mail us at firstname.lastname@example.org