Graphics

 View Only
  • 1.  if Text1=1 then change Text2 text font

    Posted 01-20-2020 00:24

    as title ,   how can i do  in Script   



  • 2.  RE: if Text1=1 then change Text2 text font

    Posted 01-20-2020 14:05

    Try this?

    Dim temp as string = "nothing"

    If Text1.text = "1" then
    Text2.CurrentFont = NewFont
    temp = Text2.text
    Text2.text = "" & temp
    End If

     


    #XPression


  • 3.  RE: if Text1=1 then change Text2 text font

    Posted 01-21-2020 05:09

    HI Narhan , what is="nothing" mean?

    Dim temp as string = "nothing"

    #XPression


  • 4.  RE: if Text1=1 then change Text2 text font

    Posted 02-03-2020 22:42

    Assuming you want "1" to change Text2 to Font 1, and "2" would change Text2 to Font 2, etc...

    Text2.TextWithTags = "{" & Text1.Text & "}" & Text2.Text

    #XPression