Android Question Marquee on a label

Discussion in 'Android Questions' started by ocalle, Sep 18, 2018.

  1. ocalle

    ocalle Active Member Licensed 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
     
  2. Semen Matusovskiy

    Semen Matusovskiy Active Member Licensed User

    After filling text, textcolor etc. add
    Code:
    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: Sep 19, 2018
    inakigarm, jimmyF and ocalle like this.
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice