PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

  • Directory selection
fSelectDir (Example)
Directory selection
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