|
-
Oct 17th, 2001, 09:20 AM
#1
Thread Starter
New Member
ListView - Get text Row/Collumn
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!
Thks to all help...
JPFO
Portugal-Lisbon
-
Oct 17th, 2001, 10:27 AM
#2
Thread Starter
New Member
Got it!
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
|