[SOLVED] - TStringGrid - Programmatically highlight a Row lazarus / 31-LCL ---------------------------------------------------------------------- Zvoni · 2018-07-31 07:14 Hi Folks, i have a TStringGrid, which i'm running through from Bottom to Top, and i want the User to see which row is currently being processed (The Grid is a list of files which have to be copied to somewhere using CopyFileEx with two Progressbars). Setting MyGrid.Row:=i causes the Scrollbar to move, but the Row isn't highlighted (and i have the option goRowHighlight switched to True). I've looked at the Selection-Property, but somehow it escapes me how to Select/Highlight the whole row from code. Help? ---------------------------------------------------------------------- Josh · 2018-07-31 08:43 Hi Attached Quick StringGrid with DrawCell etc, hopefully may help ---------------------------------------------------------------------- Zvoni · 2018-07-31 08:45 Heya Josh, thx, but i got it solved. Just declared a TGridRect-var which i assigned to Selection, and then just a MyGrid.Refresh! Solved!