TeeGrid show graphic in column?

TeeGrid VCL / FMX for Embarcadero RAD Studio, Delphi, C++ Builder and Lazarus Free Pascal.
Post Reply
TheOtherPrefontaine
Newbie
Newbie
Posts: 17
Joined: Tue Aug 22, 2023 12:00 am

TeeGrid show graphic in column?

Post by TheOtherPrefontaine » Tue Sep 26, 2023 7:10 pm

I have a small image of rating stars I want to show in the first column, rather than the numeric rating of 1 to 5.
stars.png
stars.png (56.46 KiB) Viewed 24909 times
I can extract the needed rectangle easily enough, but how do I draw it onto the grid column?

Marc
Site Admin
Site Admin
Posts: 1272
Joined: Thu Oct 16, 2003 4:00 am
Location: Girona
Contact:

Re: TeeGrid show graphic in column?

Post by Marc » Mon Oct 09, 2023 1:44 pm

Hello,

This example renders a bitmap to a cell:

https://github.com/Steema/TeeGrid-VCL-F ... StringGrid

Regards,
Marc Meumann
Steema Support

TheOtherPrefontaine
Newbie
Newbie
Posts: 17
Joined: Tue Aug 22, 2023 12:00 am

Re: TeeGrid show graphic in column?

Post by TheOtherPrefontaine » Mon Oct 09, 2023 11:38 pm

Again, my thanks.

The week is off to a start. I already miss the weekend.

Post Reply