0

Scrolling Table & HTTP Call



How can I take a table from excel and have it scroll on the screen. How do you configure an event to make an http call?

2 comments

  • 0
    Avatar
    RokuLyndon


    This has to be done via  a custom script. Are you familiar with brightscript or comfortable with scripting? If you look in the object reference guide, the section that covers the roURLTransfer objects includes infromation you'll need to download a file. You can't make it scroll in once text field. What you'll need to dow is create multiple text fields, and fill them in so your information is displayed line by line. THen, you can adjust which field is showing which line suing your script.

    The following small bit of code downloads the highlights.csv file from the URL listed below.

    Sub GetBarcodeList()
    file$="Highlights.csv"
    URL$="http://192.168.137.1:100/test3/"


    txfer=createobject("roURLTransfer")
    txfer.SetURL(URL$ + file$)
    txfer.GetToFile("barcode_list.csv")
    txfer=0
    End Sub


    In the object reference, the roTextwidget section covers how text boxes work.
  • 0
    Avatar
    Crogers


    Thank  you.  I do script.  Would happen to have an example of this posted anywhere?

    Also, if I am using BrightAuthor where would I place this script so that it will run.

    Thank you again.
    Chris
Please sign in to leave a comment.