Capturing listbox data to a text field

  1. 4 months ago

    Can anyone give me some help with this? If I can capture the data from a listbox I use to a text to a text field this would be of great help. Thanks.

  2. Mathias M

    is not verified Sep 12 Pre-Release Testers Bruges, Belgium

    You can use Listbox.List(rownumber) to get the string of a row in a listbox.

  3. Markus W

    Sep 12 Pre-Release Testers, Xojo Pro #JeSuisHuman Europe (Germany)...

    To get a specific cell

    TextField1.text = ListBox1.cell( row, column )

    To get the row:

    TextField1.text = ListBox1.cell( row, -1 )

    To get the column

    TextField1.text = ListBox1.cell( -1, column )

    To get all the Listbox:

    TextArea1.text = ListBox1.cell ( -1, -1 )

  4. Tim P

    Sep 12 Pre-Release Testers, Xojo Pro

    To get the documentation:

  5. Thank you all!

or Sign Up to reply!