Listview - Getting data from cells

Kintara

Member
Licensed User
Longtime User
Hi,
I'm using ListView and I may be missing the point, but how do I get the contents value of a cell in any column on the selected row?

I am trying to do the same as the table control method
R= Table1.SelectedRow
x= Table1.Cell("Column2",r)
y=Table1.Cell("Column3",r)

Can it be done with Listview or should I use something else (I quite like the look of listview)

Thanks

Kintara :cool:

Actually, I have found the command I was looking for, but could not see the wood for the trees.
ListView:
r= lv.SelectedRow
x=lv.GetCell("Column2",r)
y=lv.GetCell("Column3",r)



Oh well, at least its out there for future reference

Kintara :cool:
 
Last edited:

mjcoon

Well-Known Member
Licensed User
Sorry, I didn't look at the star color.
But the question was about ListView and this is a B4A object and I don't remember having seen a ListView object in B4PPC.

Hi Klaus, I had to look up the library too; it turns out I had downloaded it two years ago but never made use of it...

ListView is an alternative to the Table control providing some additional features

And I cannot remember how the star colours work, either! Lots of people must have both licences, though not me.

Cheers, Mike.
 

klaus

Expert
Licensed User
Longtime User
Yellow stars mean that the user has a B4PPC licence only.
Green stars mean that the user has a B4A licence but doesn't show if he also has a B4PPC licence.
I have both.

I found the library on my old computer, but anyway Kintara has found the answer.

Best regards.
 

mjcoon

Well-Known Member
Licensed User
Yellow stars mean that the user has a B4PPC licence only.
Green stars mean that the user has a B4A licence but doesn't show if he also has a B4PPC licence.

Ah, I see; so one can deduce that where it says over my yellow stars "Basic4android Expert" that is unlikely to be true!

Cheers, Mike.
 
Top