Forum Discussion
reddy_db
13 years agoNew Contributor
Hi,
I have come across the same problem, and found solution to retrieve text from the owner-drawn ListBox controls:
Below code is in VB Script :
==================================
set lBox = <ListBox object>
count = lBox.wItemCount
for i = 1 to count - 1
lBox.DblClickItem(i)
msgbox lBox.Edit.wSelection
Next
==================================
The above code will give you the text of each cell item.
-Bhaskar
I have come across the same problem, and found solution to retrieve text from the owner-drawn ListBox controls:
Below code is in VB Script :
==================================
set lBox = <ListBox object>
count = lBox.wItemCount
for i = 1 to count - 1
lBox.DblClickItem(i)
msgbox lBox.Edit.wSelection
Next
==================================
The above code will give you the text of each cell item.
-Bhaskar