[Gambas-user] help with ListView code?
mikeB
mikeB at ...3673...
Fri Jul 28 06:51:20 CEST 2017
Greetings all,
I've got a Listview (set as Column view) with 2 columns that I'm using
for testing so I might understand how all this works so can add it to a
project.
testCode..................................................
With listview1
.Clear
.Resizable = True
.Columns.Count = 2
.Columns[0].Text = "Site Name:"
.Columns[1].Text = "Site URL:"
End With
..................................................................
I can add values to the 1st column:
code..........................................................
listview1.add("1", "First var entry")
listview1.add("2", "Second var entry to test the resize ability")
listview1.add("3", "Third var entry")
...................................................................
Have spent a lot of research time trying to figure out how to add
values to the 2nd column (Site URL:) - got me stumped.
Anyone got an example line of code to help me out?
I can't seem to find the answer in the help docs.
Would greatly appreciate any/ all help;-)
mikeB
More information about the User
mailing list