[Gambas-user] Gridview multiple select... how to read each selected row?
Benoit Minisini
gambas at ...1...
Tue Apr 15 09:58:22 CEST 2008
On mardi 15 avril 2008, Lee McPherson wrote:
> Thanks Stephen and Benoit,
>
> ...
>
> PUBLIC rowsel AS COLLECTION
>
> PUBLIC SUB gridview1_Select()
> DIM rownumber AS String
> IF gridsel.Exist(gridView1.row)
> gridsel.Remove(gridView1.row)
> ELSE
> gridsel.Add(gridView1.row, gridView1.row)
> ENDIF
> END
>
Beware: the Select event is raised if the selection has changed, not
necessarily each time *one* row was selected or unselected.
Regards,
--
Benoit Minisini
More information about the User
mailing list