[Gambas-user] Problem with columnview control

homer01 01homer01 at ...626...
Tue Jun 3 15:30:53 CEST 2008


Hi

I've problem to fill a columnview control.

I've set the column's number to 3.
I then add an item, but I can't add text in the second and third column.

Here is my code

clwList.Columns[3]
clwList.Add["0001","1"]

here is the line that won't work
clwList.Item["0001"][1].Text = "toto"
I've tried with
clwList.Item["0001",1].Text = "toto"

I've put this code in Form_Open sub, or in the Form_Resize sub
But every time I run the programm I get the message : Null Object

If someone can shade some light on this.
Thanks for your help.

homer01




More information about the User mailing list