browseForAppServerFolder
browseForAppServerFolder(description: String; startFolder: String): String;
The browseForAppServerFolder method of the FileFolder class displays a file dialog and returns the folder from the specified application server (or standard client) node. The value specified in the description parameter is displayed in the dialog. The search for the folder starts in the folder (directory) specified in the startFolder parameter.
The following example shows the use of the browseForAppServerFolder method.
vars fileFolder : FileFolder; dir : String; begin create fileFolder; dir := fileFolder.browseForAppServerFolder("Select Data Directory", ""); if dir <> null then dataDir.text := dir; endif; epilog delete fileFolder; end;
See also the FileFolder class browseForFolder method, which enables you to browse for and return a folder on a local disk when running in thin client mode.