|
-
October 17th, 2001, 09:22 AM
#1
ListView - Get Value in XRow/YCollumn
hi,
Help me on this one...
I have a listview with checkboxes.
I want to get the text of the Item.Index() in ColumnHeaders X.
So...
lets say that i have the Item.Index value in a string and i know what collumn i want to crosstable. Who can i get the field text in the listview?
I have:
private Sub lstvwXXX_ItemCheck(byval Item as MSComctlLib.ListItem)
sID = Item.Index() 'get the Index checked
sNIF = lstvwXXX.ColumnHeaders.Item(2) 'This is the collumn
'? The text in sID in collumn sNIF....blrrrrrrrr!
End Sub
Thks to all help...
JPFO
Portugal-Lisbon
-
October 17th, 2001, 10:26 AM
#2
Re: ListView - Get Value in XRow/YCollumn
done! No help needed this time...
private Sub ltvFacturas_ItemCheck(byval Item as MSComctlLib.ListItem)
Dim sIDx as Integer
sIDx = Item.Index()
sVal = ltvFacturas.ListItems.Item(sIDx).SubItems(1)
End sub
sVal = value in checked index in collumn Y
JPFO
Lisbon - Portugal
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|