RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TOpenPictureDialog Class

TOpenPictureDialog displays a graphics-file selection dialog.

Pascal
TOpenPictureDialog = class(TOpenDialog);
C++
class TOpenPictureDialog : public TOpenDialog;

ExtDlgs

TOpenPictureDialog displays a modal Windows dialog box for selecting and opening graphics files. This component is just like TOpenDialog, except that it includes a rectangular preview region. If the selected image can be read by TPicture, it is displayed in the preview region; supported file types include bitmap (.BMP), icon (.ICO), Windows metafile (.WMF), and enhanced Windows metafile (.EMF). If the selected image cannot be displayed, "(None)" appears in the preview region. 

If the user selects a file of an unrecognized type, TPicture raises an EInvalidGraphic exception. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!