Android Question Marquee on a label

Status
Not open for further replies.

ocalle

Active Member
Licensed User
Longtime User
Hello Folks, is there a way to do a marquee on a label from a sqllite table for show some stuff without modify the app running status, i saw many post with warnings.


Thanks in advance
 

Semen Matusovskiy

Well-Known Member
Licensed User
After filling text, textcolor etc. add
B4X:
Label1.SingleLine = True
Label1.Ellipsize = "MARQUEE"
Dim jo As JavaObject = Label1
Sleep (0)
jo.RunMethod ("setSelected", Array (True))
Without Sleep scrolling will not work.

There are additional useful properties. For example:

jo.RunMethod ("setMarqueeRepeatLimit", Array (-1))
jo.RunMethod ("setFreezesText", Array (False))
 
Last edited:
Upvote 0
Status
Not open for further replies.
Top