B4J Question [Fixed] How to make the background of a xCustomListview Transparent?

MicroDrie

Well-Known Member
Licensed User
Longtime User
I can make a background of a Listview transparent with CSSUtils in the 64 bit 9.80 B4J version with this code:
B4J transparent backgrond with CSSUtils:
'    --- Standard Listview works with FX
    CSSUtils.SetBackgroundColor(ListView1, fx.Colors.Transparent)

'    --- Standard Listview works with XUI
    Dim clr As Paint = fx.Colors.From32Bit(XUI.Color_Transparent)
    CSSUtils.SetBackgroundColor(ListView1, clr)

Using a xCustomListView gives an error when in both cases the Color As Paint is required.

1657207435876.png

How do I make the xCustomListView in B4J transparent?
 

MicroDrie

Well-Known Member
Licensed User
Longtime User
thanks for helping me. I was able to make the background transparent by the use of Steve05 routine.
 
Upvote 0
Top