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 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user