ArrayArrayArrayArray BrainModular BrainModular Users Forum 2018-01-10T02:35:44+02:00 https://www.brainmodular.com/forums/app.php/feed/topic/6048 2018-01-10T02:35:44+02:00 2018-01-10T02:35:44+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=6048&p=38976#p38976 <![CDATA[sdkDialogInputBox, proper way of getting back the user entered string?]]> Statistics: Posted by 23fx23 — 10 Jan 2018, 01:35


]]>
2018-01-09T22:40:52+02:00 2018-01-09T22:40:52+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=6048&p=38975#p38975 <![CDATA[sdkDialogInputBox, proper way of getting back the user entered string?]]> The returned pointer is different every time, but always points to a memory location with the NULL character ('') in it.
If it was returning Unicode like the new settings string does, you would at least see the first character.

So it might need to be a bug report.

Statistics: Posted by sm_jamieson — 09 Jan 2018, 21:40


]]>
2018-01-07T23:18:44+02:00 2018-01-07T23:18:44+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=6048&p=38962#p38962 <![CDATA[sdkDialogInputBox, proper way of getting back the user entered string?]]>
creating 'popup' datafield and/or textfields inputs parameters, and set them via iml queries from the module works, but less sexy ..

sdkSetModuleUserName("USER");
sdkSendUsineMsg("SET_TARGET_PATCH SENDER_PATCH");
sdkSendUsineMsg("INPUT_QUERY_VALUE 'Enter value: ' POPUPVALUE 50");
sdkSendUsineMsg("SET_VALUE USER popup POPUPVALUE");

Statistics: Posted by 23fx23 — 07 Jan 2018, 22:18


]]>
2018-01-07T19:04:35+02:00 2018-01-07T19:04:35+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=6048&p=38959#p38959 <![CDATA[sdkDialogInputBox, proper way of getting back the user entered string?]]>
im very excited by the new inputbox popup, but i tried all the afternoon varous cast wide_char/string ect and still fail :/

the most simple/ logical way for me to test at first was:

CODE:

    AnsiCharPtr test;    test = sdkDialogInputBox&#40;"Enter value&#58; ", "value&#58;", "no name"&#41;;   ///caption,prompt,dft    sdkTraceChar&#40;test&#41;;
could anyone find the trick? olivier heelllllllllllllllp ^^

Statistics: Posted by 23fx23 — 07 Jan 2018, 18:04


]]>
BrainModular BrainModular Users Forum 2018-01-10T02:35:44+02:00 https://www.brainmodular.com/forums/app.php/feed/topic/6048 2018-01-10T02:35:44+02:00 2018-01-10T02:35:44+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=6048&p=38976#p38976 <![CDATA[sdkDialogInputBox, proper way of getting back the user entered string?]]> Statistics: Posted by 23fx23 — 10 Jan 2018, 01:35


]]>
2018-01-09T22:40:52+02:00 2018-01-09T22:40:52+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=6048&p=38975#p38975 <![CDATA[sdkDialogInputBox, proper way of getting back the user entered string?]]> The returned pointer is different every time, but always points to a memory location with the NULL character ('') in it.
If it was returning Unicode like the new settings string does, you would at least see the first character.

So it might need to be a bug report.

Statistics: Posted by sm_jamieson — 09 Jan 2018, 21:40


]]>
2018-01-07T23:18:44+02:00 2018-01-07T23:18:44+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=6048&p=38962#p38962 <![CDATA[sdkDialogInputBox, proper way of getting back the user entered string?]]>
creating 'popup' datafield and/or textfields inputs parameters, and set them via iml queries from the module works, but less sexy ..

sdkSetModuleUserName("USER");
sdkSendUsineMsg("SET_TARGET_PATCH SENDER_PATCH");
sdkSendUsineMsg("INPUT_QUERY_VALUE 'Enter value: ' POPUPVALUE 50");
sdkSendUsineMsg("SET_VALUE USER popup POPUPVALUE");

Statistics: Posted by 23fx23 — 07 Jan 2018, 22:18


]]>
2018-01-07T19:04:35+02:00 2018-01-07T19:04:35+02:00 https://www.brainmodular.com/forums/viewtopic.php?t=6048&p=38959#p38959 <![CDATA[sdkDialogInputBox, proper way of getting back the user entered string?]]>
im very excited by the new inputbox popup, but i tried all the afternoon varous cast wide_char/string ect and still fail :/

the most simple/ logical way for me to test at first was:

CODE:

    AnsiCharPtr test;    test = sdkDialogInputBox&#40;"Enter value&#58; ", "value&#58;", "no name"&#41;;   ///caption,prompt,dft    sdkTraceChar&#40;test&#41;;
could anyone find the trick? olivier heelllllllllllllllp ^^

Statistics: Posted by 23fx23 — 07 Jan 2018, 18:04


]]>