|
-
Dec 4th, 2000, 09:21 AM
#1
Thread Starter
New Member
Hi again,
I have another problem with my listbox. I go through all the checkboxes to see if they are checked and that works fine. But now i want to get the text out of the row that im currently on. Somehow i only get the text in the last row for all the checked rows. Thats a bit strange because i know they have different descriptiontexts. Can someone help me with this?
-
Dec 4th, 2000, 09:26 AM
#2
Frenzied Member
post yer code and we'll have a giggle er, I mean have a look at it!
-
Dec 4th, 2000, 09:31 AM
#3
Thread Starter
New Member
For m_iListCount = 0 To m_iTotalCount
m_sProdMoment = lstProductmoment.Text
Debug.Print m_sProdMoment
If lstProductmoment.Selected(m_iListCount) = True Then
m_sXmlProdNod.addNode ("ProduktMoment" & m_iPrdmomCount)
m_sXmlProdNod.nodeValue("ProduktMoment" & m_iPrdmomCount) = m_sProdMoment
Debug.Print oXmlDocument.xml '=8=
m_iPrdmomCount = m_iPrdmomCount + 1
End If
Next m_iListCount
m_iListCount = 0
-
Dec 4th, 2000, 09:58 AM
#4
Frenzied Member
Should not be that hard to get the text of an item:
Code:
For m_iListCount = 0 To m_iTotalCount
m_sProdMoment = lstProductmoment.Text
Debug.Print m_sProdMoment
If lstProductmoment.Selected(m_iListCount) = True Then
m_sXmlProdNod.addNode ("ProduktMoment" & m_iPrdmomCount)
m_sXmlProdNod.nodeValue("ProduktMoment" & m_iPrdmomCount) = m_sProdMoment
Debug.Print oXmlDocument.xml '=8=
Debug.Print lstProductmoment.List(m_iListCount)
m_iPrdmomCount = m_iPrdmomCount + 1
End If
Next m_iListCount
m_iListCount = 0
that's what you need?
Jop - validweb.nl
Alcohol doesn't solve any problems, but then again, neither does milk.
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
|