Le 28 juil. 2017 07:12, "mikeB" <mi...@my-audiosharing.com> a écrit :
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 ------------------------------------------------------------ ------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user Simply : ListView ["1"]="myvalue" Where "1" is the key of the line value ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user