Re: [MSEide-MSEgui-talk] tstringgird individual cell color

2018-08-10 Thread Martin Schreiber
On Friday 10 August 2018 16:50:35 Patrick Goupell wrote: > > https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk > > using sgLog.rowcolors [i] := cl_green gives error "List index (0) out of > bounds." > Please use " sgLog.rowcolorstate[i]:= ; " selects one of the colors in

Re: [MSEide-MSEgui-talk] tstringgird individual cell color

2018-08-10 Thread Patrick Goupell
On 08/10/2018 01:41 AM, Martin Schreiber wrote: It is possible to set a color to a specific row by setting .rowcolors[]. An other option is to set [][].selected which shows [].colorselect. Individual cell colors must be set in .datacols[].onbeforedrawcell(). " procedure

Re: [MSEide-MSEgui-talk] tstringgird individual cell color

2018-08-09 Thread Martin Schreiber
On Thursday 09 August 2018 20:11:52 Patrick Goupell wrote: > I can set a column of a stringgrid to a specific color using > tstringgrid.datacols.cols [n].color := cl_green; > > Is it possible to set a specific column/row only to a color?  What is > the correct pascal coding to do it (I haven't

[MSEide-MSEgui-talk] tstringgird individual cell color

2018-08-09 Thread Patrick Goupell
I can set a column of a stringgrid to a specific color using tstringgrid.datacols.cols [n].color := cl_green; Is it possible to set a specific column/row only to a color?  What is the correct pascal coding to do it (I haven't been able to get it right yet)? -- Patrick Goupell Are you