Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
RetriveDirectory from a listbox with RowsourceType = 7
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00971866
Message ID:
00971873
Views:
24
>Hi All
>Can i retrive the path or the directory i select from my listbox with rowsourcetype = 7
>I use this listbox to show Dbf files
>
>
>Ben.

Try, assuming loLst is your ListBox:
lnIndex = loLst.ListIndex
loLst.ListIndex = 2
lcCurrentDir = loLst.Value
loLst.ListIndex = lnIndex
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Previous
Reply
Map
View

Click here to load this message in the networking platform