How to color individual cells in a WebListbox

Hello all,

Can anyone show some sample code for coloring individual cells in a web list box? I do not want to do whole rows, but individual parts of rows.

Thanks,
Tim

See the docs about WebListBoxStyleRenderer

2 Likes

To color individual cells, you can use the CellTextPaint event. Within this event, check the row and column, then set g.DrawingColor before calling g.DrawText.

Is this available using Xojo Web?
This topic is in Web section of the forum.