[Gambas-user] ColumnView, ListView

Eilert eilert-sprachen at ...221...
Wed Jul 5 15:48:52 CEST 2006


javier romero schrieb:
> please, if anybody send me a ColumnView and ListView example i apreciate that, the Wiki dont helps about that and is so hard to understant how add items in them.


I may help you with ListView. ColumnView will run very similar, but I 
never used it, so I do not have any experience with it.

Imagine you have a string array with several entries, like "names[]"

then you might want to fill the ListView "myList" this way:

For i = 0 to names.Count - 1
   myList.Add(names[i])
Next

When you want to clear the list, just use

myList.Clear


Was this helpful?

Regards

Rolf





More information about the User mailing list