Is it possible in Providex V5 to select a line and change the background color on one line in a List_box programically? Report type with Format.
Use Backcolor$ ? I would like a line to become light yellow. THanks
I'm not sure since which version you can do that, but we use this kind of format:
if num(Variable$) {
Background$='SF'+'_yellow'
} else {
Background$=""
}
list_box load ListboxID,0,Background$+data1$+sep+Background$+data2$+sep+Background$+data3$+sep
Quote from: Cedric on August 19, 2025, 10:00:16 AMI'm not sure since which version you can do that, but we use this kind of format:
if num(Variable$) {
Background$='SF'+'_yellow'
} else {
Background$=""
}
list_box load ListboxID,0,Background$+data1$+sep+Background$+data2$+sep+Background$+data3$+sep
Thanks! I got the background yellow with the 'SF'+ '_yellow' on one data field but does make the whole row yellow. I can add it to each field on the row and the whole row should then have background yellow. Which takes more coding but should work.
UPDATE- I was able to create a row with light yellow background