Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
RetriveDirectory from a listbox with RowsourceType = 7
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00971866
Message ID:
00971873
Vues:
23
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform