View Full Version : Listview subItem Index

02 February 2009, 11:17 PM
Hey everyone,
Is there a way to return a value of a subItem's column from a dotnet listview? It's very easy to find out its row, but having a hard time figuring out its exact column. Maybe I'm overlooking something.

03 March 2009, 12:10 AM
on lv MouseClick theClick do
local theItem = lv.GetItemAt theClick.x theClick.y
local theRowIndex = theItem.Index + 1
local theSubItem = (theItem.GetSubItemAt theClick.x theClick.y)
local theColIndex = (( as integer))
htest = [theRowIndex,theColIndex]


oh: full row select needs to be on too i think...

nabbed from one of Bobo's Scripts

03 March 2009, 01:42 AM
ah ha! Thank you very much!

CGTalk Moderation
03 March 2009, 01:42 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.