Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Display text in list box
#1
I am using the code:
_______________________
str s
if(!BrowseForFolder(s)) ret
_______________________
So a user can select a folder and I want to display the folder that was selected in a list box. IF they want to select several folders, they can just run the above code again, select another folder and have that add to the list box as well. But I can't seem to figure out how to take the path that's stored in variable (s) and display that in the list box.
I thought the following code would work but it doesn't.. Any ideas or suggestions?
_______________________
s.setwintext(id(1211 hDlg))
_______________________

Thanks,
Jason
#2
LB_Add id(1211 hDlg) s
#3
PERFECT! Thank you as always Gin!


Forum Jump:


Users browsing this thread: 1 Guest(s)