[Gambas-user] select columnview row

Jack jscops at ...11...
Tue Feb 1 19:28:02 CET 2011


> 2011/2/1 Anthony Tekatch<anthony at ...2542...>
>
> Is there a way to have the application set the current row of a
> ColumnView just like it was clicked by a user?
>
> When the ColumnView starts up, the default is unselected, I want my code
> to select the first row, but I cannot write to .Current.Key

Yes, if i understand your question, you can do it.

ColumnView.movefirst()
ColumnView.Item.Selected = TRUE




More information about the User mailing list