[Gambas-user] How to access SubItems in a Columnview

Benoit Minisini gambas at ...1...
Mon May 31 12:25:24 CEST 2004


On Monday 31 May 2004 11:01, VBTricks.de.vu Webmaster wrote:
> I added a columnview to my form with 4 columns, now I want to access the
> third subitem (this word is from VB's listview) of the second item for
>
> example:
> | Column 1 | Column 2| Column 3| Column 4 |
> |-----------------------------------------|
> | Item 1   |         |         |          |
> | Item 2   |         | * HERE *|          |
>
> Dim sCurItem As String
> sCurItem = "item2"
> ColumnView1.Add(sCurItem, "Item 2")
>
> now how to write the third subitem of this item?
>
> Stefan

ColumnView1[sCurItem][x] = "Text" where x is the column number, starting with 
zero.

Regards,

-- 
Benoit Minisini
mailto:gambas at ...1...




More information about the User mailing list