Android Question Selecting all the lines of a tableview

DALB

Active Member
Licensed User
Hello,
is there a command line which makes all the lines of a tableview selected ?
Thank you

Like this
B4X:
Table1.MultiSelect=True
    For i=0 To Table1.NumberOfRows-1
      ....
     Next
 

DALB

Active Member
Licensed User
yes, tableview only.
 
Upvote 0

klaus

Expert
Licensed User
Longtime User
B4X:
    For i = 0 To Table1.NumberOfRows - 1
        Private rc As RowCol
        rc.Col = -1
        rc.Row = i
        Table1.SelectRow(rc)
    Next

rc.Col = -1 doesn't select a column.
rc.Col = x selects also a column.

The request is for the Flexible Table Class.
 
Upvote 0

DALB

Active Member
Licensed User
Wooow yes, I've forgotten this.
Thousand of thanks, klaus !
The rc.col=-1 was absolutly out of my memory.
 
Upvote 0
Top