ListBox heading(solved)

Is possible to add data in specific cell and have as driven the heading?,something like this…

lst.AddRow for i as integer =0 to lst.ColumnCount -1 if lst.Heading(i) = "system_status" then //add the data to the specific column and cell of this header? next

Have you read the LR and the multiple AddRow syntax ?

Nota: I do not really understand the question, thus my "strange"answer.

[quote=393417:@Emile Schwarz]Have you read the LR and the multiple AddRow syntax ?

Nota: I do not really understand the question, thus my "strange"answer.[/quote]
From a Dictionary I get some data the dictionary key have the same name with specific listbox header.
what I want to do is something like this…

For Each entry As xojo.Core.DictionaryEntry In mDict if entry.key = system_status" then for i as integer =0 to lst.ColumnCount -1 if lst.Heading(i) = "system_status" then //add entry.value to the specific cell next end if next

If the row doesn’t exist yet, you’ll need to use AddRow to Add enough rows. Then you can just use the Cell(row,column) method to set the text.

I forget to put the addrow…

And to get the row # of the forgotten added Row !