W WhataJeff Member Licensed User Longtime User Nov 20, 2012 #1 Ok, I gave up on this one. I add an item to my listview using addsingleline2: lstView.AddSingleLine2("This is the text I need", "This my hidden Value") So, I retrieve the value with: MyValue = lstView.getItem(0) I understand that it should return : "This is my hidden Value" I cannot for the life of me find how to get: "This is the text I need" How the heck do you get it? Thanks everyone J
Ok, I gave up on this one. I add an item to my listview using addsingleline2: lstView.AddSingleLine2("This is the text I need", "This my hidden Value") So, I retrieve the value with: MyValue = lstView.getItem(0) I understand that it should return : "This is my hidden Value" I cannot for the life of me find how to get: "This is the text I need" How the heck do you get it? Thanks everyone J
W WhataJeff Member Licensed User Longtime User Nov 20, 2012 #3 Thanks, I'm still not quite there. it seems the example is using ListView1.AddTwoLines2(lvd.FirstRow, lvd.SecondRow, lvd) AddTwoLines. I am using AddSingleLine2 I tried to implement but get an error by: B4X: Dim lvd As ListViewData lvd.Initialize lvd = lstElements.GetItem(0) It doesnt seem to translate J Upvote 0
Thanks, I'm still not quite there. it seems the example is using ListView1.AddTwoLines2(lvd.FirstRow, lvd.SecondRow, lvd) AddTwoLines. I am using AddSingleLine2 I tried to implement but get an error by: B4X: Dim lvd As ListViewData lvd.Initialize lvd = lstElements.GetItem(0) It doesnt seem to translate J
NJDude Expert Licensed User Longtime User Nov 20, 2012 #4 Ok, take a look at the attached sample, I've done a little bit of voodoo there, it does what you need. Attachments ListViewTweak.zip 9.3 KB · Views: 366 Upvote 0
Ok, take a look at the attached sample, I've done a little bit of voodoo there, it does what you need.
W WhataJeff Member Licensed User Longtime User Nov 20, 2012 #5 Thanks for the example and the effort! I'm glad it wasn't me going cross-eyed. Upvote 0