Re Hello,
tdbwidgetgrid1[1][0]  gives the error list index (0) out of bound. The
problem is the row I believe ?
Med

Le jeu. 7 nov. 2024 à 15:40, Mohamed Hamza <medhom...@gmail.com> a écrit :

> Hi Fred,
> My email is fake it's really  FOR  i :=0 to 1 DO
> tdbwidgrid1[i].[1].color:=cl_red
> Regards
> Med
>
>
> Le jeu. 7 nov. 2024 à 14:15, Fred vS <fi...@hotmail.com> a écrit :
>
>> If there are only 2 cols do
>>
>> FOR i := 0 to 1 DO tdbwidgrid1[i].[1].color:=cl_red
>>
>> ------------------------------
>> *De :* Mohamed Hamza <medhom...@gmail.com>
>> *Envoyé :* jeudi 7 novembre 2024 09:29
>> *À :* General list for MSEide+MSEgui <
>> mseide-msegui-talk@lists.sourceforge.net>
>> *Objet :* Re: [MSEide-MSEgui-talk] tdbgrid.color
>>
>> 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
>>
>
_______________________________________________
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to