Notifications
Clear all
[Closed] Listview subItem Index
Feb 28, 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.
2 Replies
Feb 28, 2009 11:17 pm
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 = ((theSubItem.name as integer))
htest = [theRowIndex,theColIndex]
)
oh: full row select needs to be on too i think…
nabbed from one of Bobo’s Scripts