[Gambas-user] select columnview row

Anthony Tekatch anthony at ...2542...
Tue Feb 1 19:55:16 CET 2011


On Tue, 01 Feb 2011 19:28:02 +0100, Jack <jscops at ...11...> wrote:

> 
> > 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

Thank you!! that did the trick.



More information about the User mailing list