iOS Question MARQUEE

Pendrush

Well-Known Member
Licensed User
Longtime User
When I have long text in a label (single line), text is truncated, no scrolling effect. I also need marquee effect for label.
 
Upvote 0

Pendrush

Well-Known Member
Licensed User
Longtime User
I need automatic scroll like this in Android
B4X:
Dim r As Reflector
r.Target = Label
r.RunMethod2("setLines", 1, "java.lang.int")
r.RunMethod2("setHorizontallyScrolling", True, "java.lang.boolean")
r.RunMethod2("setEllipsize", "MARQUEE", "android.text.TextUtils$TruncateAt")
r.RunMethod2("setHorizontalFadingEdgeEnabled", True, "java.lang.boolean")
r.RunMethod2("setMarqueeRepeatLimit", "-1", "java.lang.int")
r.RunMethod2("setSelected", True, "java.lang.boolean")
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…