On Tue, 01 Feb 2011 19:28:02 +0100, Jack <jsc...@wanadoo.fr> wrote:

> 
> > 2011/2/1 Anthony Tekatch<anth...@unihedron.com>
> >
> > 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.

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to