Print StringGrid lazarus / 39-Graphics ---------------------------------------------------------------------- tomek · 2011-03-01 09:17 I'm looking for a way to print visible StringGrid, print exactly as it visible on the form. I think about OnDrawCell, anyone can suggest how to do it ? ---------------------------------------------------------------------- Leledumbo · 2011-03-01 17:18 OnDrawCell allows you to draw the cell "your way", it's not meant to get the painting code. Basically printing is the same as painting, only done to the printer's canvas instead of the form's. I don't know how to do that yet, but KGrid (through it's print preview component) could do it, so you may want to see the source code to know how it does that. ---------------------------------------------------------------------- tomek · 2011-03-01 19:48 Thanks for hint. Yes, Kgrid doing it perfectly. Unfortunately I can not switch to the KGrid. I'll try to bind KControls with Stringgrid, but probably will not be easy