ArrayArrayArrayArrayArray BrainModular BrainModular Users Forum 2018-05-12T18:45:25+02:00 https://www.brainmodular.com/forums/app.php/feed/topic/6133 2018-05-12T18:45:25+02:00 2018-05-12T18:45:25+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=6133&p=39837#p39837 <![CDATA[sdkDialogInputBox please allow multiline prompt]]> will be corrected in the v171

Statistics: Posted by senso — 12 May 2018, 18:45


]]>
2018-03-07T13:48:38+02:00 2018-03-07T13:48:38+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=6133&p=39621#p39621 <![CDATA[sdkDialogInputBox please allow multiline prompt]]> I just checked in 3.0.163-1 and the dialog is the same as before.
Only the text before the first "n" character is displayed in the prompt text.
Do we need a new SDK to go with it ?

Thanks,
Simon.

Statistics: Posted by sm_jamieson — 07 Mar 2018, 12:48


]]>
2018-02-26T18:00:20+02:00 2018-02-26T18:00:20+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=6133&p=39529#p39529 <![CDATA[sdkDialogInputBox please allow multiline prompt]]>
for the sdkDialogInputBox, on cancel, the default value is returned, nothing I can do since it's a system behavior, not Usine.

Statistics: Posted by senso — 26 Feb 2018, 17:00


]]>
2018-02-22T14:00:14+02:00 2018-02-22T14:00:14+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=6133&p=39467#p39467 <![CDATA[sdkDialogInputBox please allow multiline prompt]]> If there is going to be 2 buttons, they need to do somethign different. Can we have either a way to return which button was pressed, or to return NULL (rather than an empty string) if cancel is pressed.
Thanks,
Simon.

Statistics: Posted by sm_jamieson — 22 Feb 2018, 13:00


]]>
2018-02-19T14:34:49+02:00 2018-02-19T14:34:49+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=6133&p=39430#p39430 <![CDATA[sdkDialogInputBox please allow multiline prompt]]>
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.

Statistics: Posted by sm_jamieson — 19 Feb 2018, 13:34


]]>
BrainModular BrainModular Users Forum 2018-05-12T18:45:25+02:00 https://www.brainmodular.com/forums/app.php/feed/topic/6133 2018-05-12T18:45:25+02:00 2018-05-12T18:45:25+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=6133&p=39837#p39837 <![CDATA[sdkDialogInputBox please allow multiline prompt]]> will be corrected in the v171

Statistics: Posted by senso — 12 May 2018, 18:45


]]>
2018-03-07T13:48:38+02:00 2018-03-07T13:48:38+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=6133&p=39621#p39621 <![CDATA[sdkDialogInputBox please allow multiline prompt]]> I just checked in 3.0.163-1 and the dialog is the same as before.
Only the text before the first "n" character is displayed in the prompt text.
Do we need a new SDK to go with it ?

Thanks,
Simon.

Statistics: Posted by sm_jamieson — 07 Mar 2018, 12:48


]]>
2018-02-26T18:00:20+02:00 2018-02-26T18:00:20+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=6133&p=39529#p39529 <![CDATA[sdkDialogInputBox please allow multiline prompt]]>
for the sdkDialogInputBox, on cancel, the default value is returned, nothing I can do since it's a system behavior, not Usine.

Statistics: Posted by senso — 26 Feb 2018, 17:00


]]>
2018-02-22T14:00:14+02:00 2018-02-22T14:00:14+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=6133&p=39467#p39467 <![CDATA[sdkDialogInputBox please allow multiline prompt]]> If there is going to be 2 buttons, they need to do somethign different. Can we have either a way to return which button was pressed, or to return NULL (rather than an empty string) if cancel is pressed.
Thanks,
Simon.

Statistics: Posted by sm_jamieson — 22 Feb 2018, 13:00


]]>
2018-02-19T14:34:49+02:00 2018-02-19T14:34:49+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=6133&p=39430#p39430 <![CDATA[sdkDialogInputBox please allow multiline prompt]]>
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.

Statistics: Posted by sm_jamieson — 19 Feb 2018, 13:34


]]>