[Gambas-user] TableView: Mark row
bsteers4 at gmail.com
Mon Jul 31 18:17:10 CEST 2023
On Mon, 31 Jul 2023 at 12:52, Hans Lehmann <hans at gambas-buch.de> wrote:
> Is it correct that these two statements are the same?
> (1) tblView.Rows.Select(0)
> (2) tblView.Rows.Selected = True
> With kind regards
they will do the same thing a different way.
the first way uses a method from the GridView.Rows class that can also set
many rows at once. http://gambaswiki.org/wiki/comp/gb.qt4/_gridview_rows
the second individually sets a rows Selected property via
GridView.Row.Selected . http://gambaswiki.org/wiki/comp/gb.qt4/_gridview_row
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the User