ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / External file functions
  • Selecting a directory
fSelectDir (Example)
Selecting a directory
The following code is used to select a directory.
// -- Click code on BTN_SelectDirectory
// Declare the variable
NameDirectoryPath is string
// Select the directory
NameDirectoryPath = fSelectDir("C:\MyDirectories", "Select a directory", ...
"Select the directory to handle")
// Error?
IF NameDirectoryPath <> "" THEN
Info("The selected directory is: " + NameDirectoryPath)
ELSE
// Display the error message
Error(ErrorInfo(errMessage))
END
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 08/23/2022

Send a report | Local help