iOS Question BBScrollingLabel background color

Lucas Eduardo

Active Member
Licensed User
Hello, i'm using the lib BBScrollingLabel, but i could not change view background color. How can i change the view background color?

Thank you.
 

Attachments

  • 1.png
    1.png
    14.1 KB · Views: 260
  • image0.png
    image0.png
    61.1 KB · Views: 257

Erel

B4X founder
Staff member
Licensed User
Longtime User
By mistake mBase is not exposed, so we need to do some work:
1. Put the BBScrollingLabel inside a panel.
2.
B4X:
BBScrollingLabel1.Text = $"[b][u]BBScrollingLabel[/u][/b]: [color=red]Red[/color] [color=0xFF08B31F]Green[/color] [color=blue]Blue[/color]. More information: [url]https://www.b4x.com[/url]..............."$
Sleep(0)
LabelPanel.GetView(0).GetView(0).Color = xui.Color_Red
 
Upvote 0

Lucas Eduardo

Active Member
Licensed User
I tryed it now and did not worked.

I did it
1. Put the BBScrollingLabel inside a panel.
when i tryed this
B4X:
LabelPanel.GetView(0).GetView(0).Color = xui.Color_Red
i can not do it ".GetView(0).GetView(0)" it just work if i put one time "GetView(0)"

Why did not work?

Thank you.
 
Upvote 0
Top