Posted: 19 Feb 2018, 13:34
With the original SDK dialog prompts, such as sdkDialogConfirmationYesNo(msg), the message can be a multiline text string (i.e. with newline characters in), which gets displayed properly above the buttons, so you can include a paragraph of text explaining something.
With the new input dialog:
AnsiCharPtr sdkDialogInputBox(AnsiCharPtr caption, AnsiCharPtr prompt, AnsiCharPtr defaultValue),
only the first line a multiline prompt string is displayed, to the left of the input box.
It makes sense to have the prompt to the left of the input box in a common GUI style, but this means it is not possible to include a message or explanation paragraph in the input box, which is something I really need.
Could the sdkDialogInputBox please be changed so that if you have a multiline text string, all lines except the last one are displayed above the input box in a similar way to the confirmation dialogs.
For example, if the prompt text string is
"This input box allows you to specify the name for the item.nThe tag %date will be replaced by the current date.nPlease enter item name:",
should display in the dialog box like this:
This input box allows you to specify the name for the item.
The tag %date will be replaced by the current date.
Please enter item name: [ ]
Or alternatively, the entire prompt could be displayed together, just like the confirmation dialogs, with the input box beneath it and the buttons beneath that.
Thanks,
Simon.
With the new input dialog:
AnsiCharPtr sdkDialogInputBox(AnsiCharPtr caption, AnsiCharPtr prompt, AnsiCharPtr defaultValue),
only the first line a multiline prompt string is displayed, to the left of the input box.
It makes sense to have the prompt to the left of the input box in a common GUI style, but this means it is not possible to include a message or explanation paragraph in the input box, which is something I really need.
Could the sdkDialogInputBox please be changed so that if you have a multiline text string, all lines except the last one are displayed above the input box in a similar way to the confirmation dialogs.
For example, if the prompt text string is
"This input box allows you to specify the name for the item.nThe tag %date will be replaced by the current date.nPlease enter item name:",
should display in the dialog box like this:
This input box allows you to specify the name for the item.
The tag %date will be replaced by the current date.
Please enter item name: [ ]
Or alternatively, the entire prompt could be displayed together, just like the confirmation dialogs, with the input box beneath it and the buttons beneath that.
Thanks,
Simon.