![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
1.11.1 BLOX.BDialog class: instance creation (class) 1.11.2 BLOX.BDialog class: prompters (class) 1.11.3 BLOX.BDialog: accessing (instance) 1.11.4 BLOX.BDialog: widget protocol (instance)
If the dialog box is canceled, nil is answered, else the selected color is returned as a String with its RGB value.
If the dialog box is canceled, nil is answered, else the selected file name is returned as a String.
The dialog box is created with the given parent window and with aLabel as its title bar text. The name parameter indicates which file is initially selected, and the default extension specifies a string that will be appended to the filename if the user enters a filename without an extension.
The typeList parameter is an array of arrays, like #(('Text files' '.txt' '.diz') ('Smalltalk files' '.st')), and is used to construct a listbox of file types. When the user chooses a file type in the listbox, only the files of that type are listed. Each item in the array contains a list of strings: the first one is the name of the file type described by a particular file pattern, and is the text string that appears in the File types listbox, while the other ones are the possible extensions that belong to this particular file type.
If the dialog box is canceled, nil is answered, else the selected file name is returned as a String.
The dialog box is created with the given parent window and with aLabel as its title bar text. The name parameter indicates which file is initially selected, and the default extension specifies a string that will be appended to the filename if the user enters a filename without an extension.
The typeList parameter is an array of arrays, like #(('Text files' '.txt' '.diz') ('Smalltalk files' '.st')), and is used to construct a listbox of file types. When the user chooses a file type in the listbox, only the files of that type are listed. Each item in the array contains a list of strings: the first one is the name of the file type described by a particular file pattern, and is the text string that appears in the File types listbox, while the other ones are the possible extensions that belong to this particular file type.
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |