denioflavio
12 years agoOccasional Contributor
Buttons on MessageDlg
Hi,
I have a script coded like this:
texto := 'Confirma?';
btn := MkSet(mrOk, mrCancel);
btn := MessageDlg(texto, mtConfirmation, btn, 0);
When the messagedlg appears, I expected that Ok button come first (at the left) on the window, but the opposite happens. See image attached.
Does anyone knows a way to configure the buttons sequence appears?
Best regards,
- Try to specify buttons using mbOk and mbCancel constants:
btn := MkSet(mbOk, mbCancel);
Constants starting with "mr" are result values.
You can see details here: MessageDlg Method