[Gambas-user] Columnview, how to read?

Jacky jscops at ...11...
Tue Aug 26 12:20:50 CEST 2008


Le Tuesday 26 August 2008 12:08:18 Fox, vous avez écrit :
> Werner wrote:
> > to traverse trough the items of a ColumnView you could do this:
> > CVmycv.MoveFirst
> > WHILE CVmycv.Available
> >  Print CVmycv.Item.Key 'or whatever else you want to do here
> >  CVmycv.MoveNext
> > WEND
> >
> >
> > but I don't understand what you actually want to do.
>
> Suppose that I have data in the Columnview
>
> Columns:
> a picture | Name | Surname | Address | telephone etc.
>
>
> now I want to store ALL the items in a file, in a variant array[][] ...
> or where you want

Columnview.MoveFirst
    REPEAT
    Columnview.Item.Selected = TRUE
	'here that you want to do with each data, Columnview.Item[1], 
Columnview.Item[2], Columnview.item[3] etc...
	
    UNTIL Columnview.Movenext()

Jacky





More information about the User mailing list