|

Icon


(number) The icon to display on the dialog:



CONSTANT


VALUE DESCRIPTION


MB_ICONNONE


0


None.


MB_ICONSTOP


16


Stop.


MB_ICONQUESTION


32


Question. (Default)


MB_ICONEXCLAMATION


48


Exclamation.


MB_ICONINFORMATION


64


Information.


Re t u r n s


(string) The item that was selected from the combo box or the text that was entered if the field was editable, if the OK button is pressed. It will return "CANCEL" if the Cancel button is pressed. If an error occurs, a blank string "" will be returned. You can use Application.GetLastError to determine whether this action failed, and why.


See also: Related Actions


image

image

Dialog.FileBrowse

OverviewExamples

table Dialog.FileBrowse ( boolean FileOpen,


string Title,


string DefaultFolder,


string FileFilters = "All Files (*.*)|*.*|",


string Filename = "",


string FileExtension = "", boolean MultipleSelect = false, boolean FileMustExist = false )


De s cr ip t ion


Presents a file browse dialog to the user to collect the paths to one or more files.


P arame t er s


FileOpen


(boolean) Whether to make the dialog a "file open" dialog:



VALUE DESCRIPTION


true


Dialog will be a " file open" dialog.


false


Dialog will be a "file save" dialog.


|