[SOLVED]-Setting the field Background color in a datgrid
Posted: Wed Feb 04, 2015 8:05 pm
Hi
I have managed to change all but one of the properties of the fields/cells in a grid.
Basically using the "column name 000x" in a button
set the textalign of field "Col2 0003" of group "dg2" to "CENTER" <-- works
set the textcolor of field "Col2 0002" of group "dg2" to "RED" <-- works
set the hilitecolor of field "Col2 0004" of group "dg2" to "RED" <-- nope?
set the backcolor of field "Col2 0003" of group "dg2" to "RED" <-- Nope or even backgroundcolor
I have switched off alternate row colours just in casae and it still doesnt work. To save me another few hours of spelunking could anyone (Klaus are you listening?
) tell me if this is possible and what am i doing wrong?
I have of course managed to do it using standard fields with the field name name - set the backgroundcolor of field "anyfield" to "cyan"
Kinderst Regards Lagi
I have managed to change all but one of the properties of the fields/cells in a grid.
Basically using the "column name 000x" in a button
set the textalign of field "Col2 0003" of group "dg2" to "CENTER" <-- works
set the textcolor of field "Col2 0002" of group "dg2" to "RED" <-- works
set the hilitecolor of field "Col2 0004" of group "dg2" to "RED" <-- nope?
set the backcolor of field "Col2 0003" of group "dg2" to "RED" <-- Nope or even backgroundcolor
I have switched off alternate row colours just in casae and it still doesnt work. To save me another few hours of spelunking could anyone (Klaus are you listening?

I have of course managed to do it using standard fields with the field name name - set the backgroundcolor of field "anyfield" to "cyan"
Kinderst Regards Lagi