Hello Fred, Doing that FOR i := 0 to 2 DO tdbwidgrid1[i].[1].color:=cl_red gives me error list index (1) out of bound. the grid has 2 cols.
Regards Med Le mer. 6 nov. 2024 à 22:26, Fred vS <fi...@hotmail.com> a écrit : > Hello Med. > > Maybe do it cell by cell ? (not tested) > > y := therow; > > for x := 0 to lastcell do tdbwidgetgrid1[x][y].color := cl_green; > > > ------------------------------ > *De :* Mohamed Hamza <medhom...@gmail.com> > *Envoyé :* mercredi 6 novembre 2024 18:25 > *À :* mseide-msegui-talk@lists.sourceforge.net < > mseide-msegui-talk@lists.sourceforge.net> > *Objet :* [MSEide-MSEgui-talk] tdbgrid.color > > Hi All, > > How to change the color of a row in tdbwidgetgrid. > Regards > Med > _______________________________________________ > mseide-msegui-talk mailing list > mseide-msegui-talk@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk >
_______________________________________________ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk