Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Display text in list box
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))

LB_Add id(1211 hDlg) s
PERFECT! Thank you as always Gin!

Forum Jump:

Users browsing this thread: 1 Guest(s)