ShowOpenDialog |
Top Previous Next |
Prototype
StrFile:=ShowOpenDialog (strTitle,StrDirectory,StrFile)
Description
It shows a dialog window for the file selection.
Parameters
StrTitle: string representing the window title of dialog type.
StrDirectory: string corresponding to the file directory.
StrFile: string corresponding to the file name to open.
Returned value
StrFile: string containing the path file if this last is selected else the string is empty.
Notes
None.
Example
// It opens an image image:=ImgOpen(ShowOpenDialog('Image opening','',''),0);
// It shows the image imgShow(image);
//It shows a message ShowMessage('Shown !');
//It executes other operations
//It deletes the image from memory imgDelete(image);
|