How can I activate the Windows-file-browser in my form ? [message #77564] |
Mon, 08 October 2001 01:24 |
Enno Oost
Messages: 12 Registered: October 2001
|
Junior Member |
|
|
Hi fellows
My form contains an image-item, that I want to fill with pictures out of the Windows file-system. The simple way ( copy picture with CONTROL-C and then paste it into the image-item with CONTROL-V ) is already working. Now I want to read the picture-file directly into the item using the READ-IMAGE-build-in and use the Windows-file-browser to get the path and name of the picture-file.
The question is : How can I activate the file-browser in my form and how do I get the filename back ?
Thanks in advance ... Enno
----------------------------------------------------------------------
|
|
|
Re: How can I activate the Windows-file-browser in my form ? [message #77575 is a reply to message #77564] |
Tue, 09 October 2001 05:32 |
Srinivas Konda
Messages: 29 Registered: October 2001
|
Junior Member |
|
|
use the following code, I guess you are talking about file dialog window.
** Built-in: GET_FILE_NAME
** Example: Can get an image of type TIFF.
*/
DECLARE
filename VARCHAR2(256)
BEGIN
filename := GET_FILE_NAME(File_Filter=> 'TIFF Files (*.tif)|*.tif|');
READ_IMAGE_FILE(filename, 'TIFF', 'block5.imagefld);
END;
----------------------------------------------------------------------
|
|
|