Graphics

 View Only
  • 1.  Textbox To Integer Line Object Scripting

    Posted 22 days ago

    Hello,

    I am currently trying to write a script that allows me to draw a passing arc for our scoring drive graphic. I receive the data in through a text box and I'm looking to use the values in those text boxes as some of the values for my lines. I get the alert stated here in the image. This was my attempt as Dim ing an integer and then having it equal the text box value but it still is not working. I don't know if applying the text box values to the coordinates of an object and then pulling those coords might work. Any help here would be greatly appreciated.



    ------------------------------
    Grayson Counts
    Phoenix United States
    ------------------------------


  • 2.  RE: Textbox To Integer Line Object Scripting

    Posted 21 days ago

    Hi Grayson.
    Use  string  below on 110

    Integer.TryParse(XCordFinalNum.Text, XCordFinal)


    ------------------------------
    Roman Yaroshenko
    chief specialist
    RBC-TV
    Moscow Russian Federation
    ------------------------------



  • 3.  RE: Textbox To Integer Line Object Scripting

    Posted 21 days ago

    You can also try this

    XCordFinal=CInt(XCordFinalNum.Text)



    ------------------------------
    Azathoth
    Son of Cthulhu
    ------------------------------