Page 1 of 1

TeeGrid show graphic in column?

Posted: Tue Sep 26, 2023 7:10 pm
by 18696547
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 24910 times
I can extract the needed rectangle easily enough, but how do I draw it onto the grid column?

Re: TeeGrid show graphic in column?

Posted: Mon Oct 09, 2023 1:44 pm
by Marc
Hello,

This example renders a bitmap to a cell:

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

Regards,
Marc Meumann

Re: TeeGrid show graphic in column?

Posted: Mon Oct 09, 2023 11:38 pm
by 18696547
Again, my thanks.

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