So I’ve read many articles/posts regarding transparency and my only take-away is that ‘it might be possible’. I have a Windows 11 desktop app on Xojo 2025v1.1
I have a Desktopcontainer with a blue gradient background image, a DesktopLabel, a (custom) button and a DesktopListBox. The label transparency works fine but the listbox is another matter.
I’ve disabled the DesktopContainer “Has Background color” , set the listbox to Transparent and added Return True to the PaintCellBackground event.. this gives me a plain white listbox background? Am I missing something or am I embarking on a fool’s errand?
(I’m drawing a header colour of blue in the PaintHeaderBackground event)
What you want is possible by using the event that paints cell backgrounds. You will need to calculate what to paint based on the row number and how much the list has been scrolled