CMDFileOpen Class
The CMDFileOpen class enables access to the common File Open dialog facility for the selection of files, by specifying the names and locations of files that are read by your application. The following example, which uses the CMDFileOpen class:
-
Displays a File Open dialog
-
Obtains the file selected by the user
-
Uses the data read from the file to load the logo from the selected file
logo_click(picture: Picture); vars fileLogo : CMDFileOpen; begin create fileLogo; if fileLogo.open = 0 then logo.picture := app.loadPicture(fileLogo.fileName); self.formatPicture; endif; end;
This class is not available on a server node.
In JADE thin client mode, the common File Open dialog executes on the presentation client and returns information relative to the presentation client.
For details about the properties and methods defined in the CMDFileOpen class, see "CMDFileOpen Properties" and "CMDFileOpen Methods", in the following subsections.
(None)