API2 (and WebListBox)

By pure hazard, I read this entry: WebListBox.AlternateRowColor

Then I checked Desktop’s ListBox and do not found it there (no ListBox.AlternateRowColor).

I found the WebListBox.AlternateRowColor a good idea / I do not know if it is possible to implement that in Desktop.

Really easy to understand and use (apparently).

What’s your opinion ?

On desktop you can implement alternating row backgrounds using the CellBackgroundPaint event. There’s a short code example in the documentation at: https://documentation.xojo.com/api/deprecated/listbox.html#listbox-cellbackgroundpaint

Hi Daniel,

Thank you for the information. I forgot to set it (for Xojo new comers).

This help to understand my question.

see blog posts from us: