[Gambas-user] Setting TableView to Row

Stefano Palmeri rospolosco at ...152...
Tue Nov 25 16:27:00 CET 2008


Il martedì 25 novembre 2008 11:06:27 Rolf-Werner Eilert ha scritto:
> Hi,
>
> is it possible to set TableView.Row from Code during runtime?
>
> Would be nice to make sure a certain row in the table is selected before
> the user begins working with it (e. g. to draw attention to this row).
>
> Just tried this
>
>    IF po > -1 THEN mesListe.Row = po
>
> but nothing happened. It should trigger the click event of the TableView
> (mesListe) to show something, but I guess this isn't possible here, is it?
>
> Thanks for your ideas.
>
> Rolf
>

I'm not sure that I perfectly understood, but it should be:

TableView1.MoveTo(1, 0)

this selects and highlights the second row of a tableview.
I use gb.qt.

Bye,

Stefano


> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge Build the coolest Linux based applications with Moblin SDK & win
> great prizes Grand prize is a trip for two to an Open Source event anywhere
> in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user






More information about the User mailing list