Android Question using linkify, update text (via kvs), no more hyperlink

Discussion in 'Android Questions' started by Albi, May 20, 2015.

  1. Albi

    Albi Active Member Licensed User

    Hello,

    Linkify is/was working, and then i altered the text using the following code.
    Code:
    If kvs.ContainsKey("lblScroll"Then
            lblScroll.Text = kvs.GetSimple(
    "lblScroll")
        
    Else
            lblScroll.Text = 
    "Hello and welcome to the ""Weekly News Quiz!""" & CRLF & CRLF & _
            
    "You can find more of our creations online at www.newsmuse.co as well as limited words on twitter (link below)" & CRLF
        
    End If
        args(
    0) = lblScroll
        Obj1.RunMethod4(
    "addLinks", args, types)
    When the lblScroll is populated from the else part then linkify works fine. When it is populated from the GetSimple, the text all appears, but the linkify doesn't make the hyperlink.

    It's not the worst thing in the world, just wondering if anyone has seen this and/or got a solution...

    Thanks!
     
  2. Albi

    Albi Active Member Licensed User

    my mistake, i was updating the text without redoing the linking!
    all works well!! woop woop.
    thank you and goodnight.
     
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