| Class | Fox::FXInputDialog |
| In: |
rdoc-sources/FXInputDialog.rb
|
| Parent: | FXDialogBox |
An FXInputDialog is a simple dialog which is used to obtain a text string, integer, or real number from the user. A "password" mode allows the key-in to remain hidden.
| INPUTDIALOG_STRING: | Ask for a string |
| INPUTDIALOG_INTEGER: | Ask for an integer number |
| INPUTDIALOG_REAL: | Ask for a real number |
| INPUTDIALOG_PASSWORD: | Do not reveal key-in |
| numColumns | [RW] | Number of visible columns of text [Integer] |
| text | [RW] | Input string [String] |
Prompt the user for an integer number, starting from the specified initial value. Return the input value if the user clicks OK, else return nil. The input is constrained between lo and hi, unless lo > hi, in which case the input can be any number.
Prompt the user for a real number, starting from the specified initial value. Return the input value if the user clicks OK, else return nil. The input is constrained between lo and hi, unless lo > hi, in which case the input can be any number.
Prompt the user for a string, with the text field initialized to the specified initial value. Return the input value if the user clicks OK, else return nil.