Definition: |
include pGUI.e
string result = IupGetFile(string filefilter) |
Description: |
Shows a modal dialog of the native interface system to select a filename. Uses the IupFileDlg element.
filefilter: defines the default filter and directory, eg "../docs/*.txt". Returns: a string containing the selected file or "". |
Notes: |
The result string is limited to 4096 characters.
The function will reuse the directory from one call to another, so in the next call will open in the directory of the last selected file. The dialog uses a global attribute called "PARENTDIALOG" as the parent dialog if it is defined. It also uses a global attribute called "ICON" as the dialog icon if it is defined. For a more controlled dialog use directly the IupFileDlg element. |
See Also: |
IupFileDlg,
IupMessage,
IupListDialog,
IupAlarm,
xIupSetLanguage
DEV See Also IupFileDlg, IupMessage, IupListDialog, IupAlarm, *IupSetLanguage. |