Quantcast
Viewing all articles
Browse latest Browse all 3747

Xojo2024R3.1: WebListBox with DataSource - how do I loop through selected rows?

In the WebListBox with multiple selected rows I would like to step through selected rows and update corresponding records in the database. Here is the code I use:

for i as Integer = 0 to ListBox.LastRowIndex
  If ListBox.Selected(i) Then
    //update the record
  End If
Next

Is this the best way to it?

5 posts - 3 participants

Read full topic


Viewing all articles
Browse latest Browse all 3747

Trending Articles