A CwFileSelectionPrompter prompts the user to choose a file from a directory in the file system. A file selection prompter from the OS/2 platform is shown in the following illustration:Hint provided by the application to indicate whether the application intends to open or save a file.Hint provided by the application to indicate the preferred file extension for the return value. On some platforms, the prompter ensures that the return value has the correct extension if fileExtension is set. The default is an empty string.The prompt method returns nil if the prompter is cancelled. If a file is properly selected, a string specifying the full path name of the file is returned.
|