dcl-MessageBox language

Started by domenicomaria, May 28, 2026, 09:35:09 AM

Previous topic - Next topic

domenicomaria

(dcl-MessageBox  "aaaaaaaaa\n\nbbbbbbbbbbbb\n\ncccccccccccccccc\n\nddddddddddd\n\n" "title" 15 3)

returns what is shown in the attached image ...
...
There are 2 buttons : "SI" and "NO"
...
But I want "YES" and not "SI" !
(I am in Italy but want use english language)

Is there a way to obtain this ?

https://www.theswamp.org/index.php?topic=60628.0

owenwengerd

Windows provides the button captions, so you would need to change it in Windows somehow. I'm afraid you'll need to create your own message box form if you want to customize it.
Owen Wengerd (Outside The Box) / ManuSoft

domenicomaria

This is no small feat.

The form must resize based on the number of lines of text,
the font size, the font type, the max length of the strings, contain all the necessary icons, and have one or two or three buttons, with various different texts, with various different returns, positioned differently depending on the case, and specify which button should be the default ... !

and I don't know if I forgot something !