This class contains a file selection dialog box.
Constructor that creates a dialog box that always occludes its owner widget when overlapping with the widget. The constructor expects a string keyword for storing the selected file name. If the dialog box allows multiple selection, the string keyword contains comma-separated path names of all selected files.
Argument | Type | Default | Description |
owner | FXWindow | Parent widget. | |
title | String | Dialog title. | |
pathNameKw | AFXStringKeyword | Path name keyword. | |
readOnlyKw | AFXBoolKeyword | Read-only keyword. | |
tgt | FXObject | None | Message target. |
sel | Int | 0 | Message ID. |
mode | Int | AFXSELECTFILE_ANY | File selection mode. |
patterns | String | * | File filter patterns. |
patternIndexTgt | AFXIntTarget | None | Index used to select a file filter pattern when the dialog box is posted. |
Constructor that creates a dialog box that always occludes the main window when overlapping with the main window. The constructor expects a string keyword for storing the selected file name. If the dialog box allows multiple selection, the string keyword contains comma-separated path names of all selected files.
Argument | Type | Default | Description |
title | String | Dialog title. | |
pathNameKw | AFXStringKeyword | Path name keyword. | |
readOnlyKw | AFXBoolKeyword | Read-only keyword. | |
tgt | FXObject | None | Message target. |
sel | Int | 0 | Message ID. |
mode | Int | AFXSELECTFILE_ANY | File selection mode. |
patterns | String | * | File filter patterns. |
patternIndexTgt | AFXIntTarget | None | Index used to select a file filter pattern when the dialog box is posted. |
Constructor that creates a dialog box that always occludes its owner widget when overlapping with the widget. The constructor expects a string target for storing the selected file name. If the dialog box allows multiple selection, the string target contains comma-separated path names of all selected files.
Argument | Type | Default | Description |
owner | FXWindow | Parent widget. | |
title | String | Dialog title. | |
pathNameTgt | AFXStringTarget | Path name target. | |
readOnlyKw | AFXBoolKeyword | Read-only keyword. | |
tgt | FXObject | None | Message target. |
sel | Int | 0 | Message ID. |
mode | Int | AFXSELECTFILE_ANY | File selection mode. |
patterns | String | * | File filter patterns. |
patternIndexTgt | AFXIntTarget | None | Index used to select a file filter pattern when the dialog box is posted. |
Constructor that creates a dialog box that always occludes the main window when overlapping with the main window. The constructor expects a string target for storing the selected file name. If the dialog box allows multiple selection, the string target contains comma-separated path names of all selected files.
Argument | Type | Default | Description |
title | String | Dialog title. | |
pathNameTgt | AFXStringTarget | Path name target. | |
readOnlyKw | AFXBoolKeyword | Read-only keyword. | |
tgt | FXObject | None | Message target. |
sel | Int | 0 | Message ID. |
mode | Int | AFXSELECTFILE_ANY | File selection mode. |
patterns | String | * | File filter patterns. |
patternIndexTgt | AFXIntTarget | None | Index used to select a file filter pattern when the dialog box is posted. |
Returns an empty-string terminated list of selected file names, or 0 if none is selected.
Returns the pattern text for a given pattern number.
Argument | Type | Default | Description |
patno | Int |
Returns the ID of the button that the user pressed in the dialog box.
Returns the patterns that force the enabling of the read-only button.
Sets the current active pattern.
Argument | Type | Default | Description |
n | Int |
Sets the file list style.
Argument | Type | Default | Description |
style | Int |
Sets the inter-item spacing (in pixels).
Argument | Type | Default | Description |
s | Int |
Sets the list of file patterns.
Argument | Type | Default | Description |
patterns | String |
Sets the maximum number of visible items for the file pattern list.
Argument | Type | Default | Description |
maxVisible | Int |
Sets the pattern text for a pattern number.
Argument | Type | Default | Description |
patno | Int | ||
text | String |
Sets the initial state of read-only button.
Argument | Type | Default | Description |
state | Bool |
Sets the patterns that force the display of the read-only button; separate the entries by a newline character
.
Argument | Type | Default | Description |
patterns | String |