Background Paint in WebListBox

Hi,

Exploring porting a desktop app to web. I use the Background Paint Event in the desktop listbox to achieve a bar graph as in the sample below. I see this event is not available in web listbox.

What is the best practice for achieving something like this in web listbox?

Maybe with WebListBoxStyleRenderer — Xojo documentation

2 Likes

WebListBoxStyleRenderer — Xojo documentation
Looks like it will display a picture in the WebListBox cell, however it looks like that picture needs to be predefined in the project. It doesn’t look like there are any graphics drawing capabilities in WebPicture that will allow me to draw the bar graph using the graphics class on the fly based on data.

Any other ideas?

This seems like it should be easy, but boy am I struggling with it. :face_with_monocle: