[Gambas-user] GridView and ListView Selections

user demosthenesk at ...626...
Fri Oct 15 21:22:35 CEST 2010


Thanks i got it!

On Fri, 2010-10-15 at 21:10 +0200, Matti wrote:
> >From the docs:
> .ListViewItem.Selected
> PROPERTY Selected AS Boolean
> Indicates if the item is selected
> 
> I tried it (Gambas3) like this:
>   ListView1.MoveFirst
>   Do While ListView1.Item
>     ListView1.Item.Selected = False
>     ListView1.MoveNext
>   Loop
> 
> Probably, there are more elegant ways, but it works.
> 
> Regards
> Matti
> 
> 
> Am 15.10.2010 18:28, schrieb user:
> > Hi to all again,
> > 
> > In a GridView we can unselect the selected rows as following
> > 
> >   grdResults.Rows.Unselect
> > 
> > In a ListView control when i want to unselect how we can do it?
> > 
> > i try to find something like
> > 
> > lswResults.Items.Unselect 
> > 
> > but there is no Items (as there is Rows class for grd) class or
> > something similar.
> > 
> > 
> > 
> > 
> > ------------------------------------------------------------------------------
> > Download new Adobe(R) Flash(R) Builder(TM) 4
> > The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
> > Flex(R) Builder(TM)) enable the development of rich applications that run
> > across multiple browsers and platforms. Download your free trials today!
> > http://p.sf.net/sfu/adobe-dev2dev
> > _______________________________________________
> > Gambas-user mailing list
> > Gambas-user at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
> > 
> 
> ------------------------------------------------------------------------------
> Download new Adobe(R) Flash(R) Builder(TM) 4
> The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
> Flex(R) Builder(TM)) enable the development of rich applications that run
> across multiple browsers and platforms. Download your free trials today!
> http://p.sf.net/sfu/adobe-dev2dev
> _______________________________________________
> 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