Anyone know how to add multiple options to the drop down boxes (prompt1 ... promptN) in a textBoxDialog? The documentation says the following:
The prompt string argument are strings in the following format:
options label[: initial_value]
It's probably obvious, but I can't figure out how to add more than a single value to the drop down box. What I need is a generic dialog box that allows the user to slect from a few options preferably in a drop-down box.
Here is the code:
_str result = show('-modal _textbox_form',
'Select Command Proc Type', // Dialog box caption
TB_RETRIEVE_INIT, // Flags
'', // Use default text box width
'', // Help item
'', // Button list
'', // Retrieve name
'Select One:Option1\nOption2\nOption3'); // First prompt
The resulting dialog box has a combo box with the caption "Select One:", and the text in the combo box is "Option1\nOption2\nOption3", instead of three different options in the drop down box.
Thanks