Image.FileDlg

LabTalk Object Type:

External

The image.fileDlg object provides script access to the import image dialog box.

Please see the impImage X-Function.

Properties:

Property Access Description
image.fileDlg.title$ Read/write,
string

Dialog box's title/caption. If set to "", then Windows default captions are used.

image.fileDlg.path$ Read/write,
string

Default and ending path.

image.fileDlg.fileName$ Read/write,
string

Default and ending file name.

image.fileDlg.fileTypes$ Read/write,
string

Image types to display in the dialog box's "Files of type" list. This should be set to a list of image types returned by the image.getExtList() method.

image.fileDlg.fileType Read/write,
numeric

The index of the default and ending image type in the dialog box's "Files of type" list.

image.fileDlg.preview Read/write,
numeric

Set to 1 to enable or 0 to disable the dialog box's preview window.

Methods:

Method Description
image.fileDlg.open( [strVar] )

Show the Open dialog box. If the optional strVar is specified, then the string variable will contain the full file name if the dialog box closes on OK or Open. Example:

Image.FileDlg.Open();