1 (edited by settimox 2017-02-04 16:12:55)

Topic: mbYes+mbNo how to translate

Hi all,

I must translate mbYes+mbNo with Si and No

Anyone have one example or help to do this?

My button must have yes=>translated in SI


Thank you.

Re: mbYes+mbNo how to translate

Hello.


Please use MessageBox function instead MessageDlg,  example:

if IDYES = MessageBox('Message', 'Caption', MB_YESNO+MB_ICONINFORMATION) then ShowMessage('Yes');

Buttons:
MB_OK
MB_OKCANCEL
MB_ABORTRETRYIGNORE
MB_YESNOCANCEL
MB_YESNO
MB_RETRYCANCEL


Results:
IDOK
IDCANCEL
IDABORT
IDRETRY
IDIGNORE
IDYES
IDNO


Icons
MB_ICONWARNING
MB_ICONINFORMATION
MB_ICONASTERISK
MB_ICONQUESTION
MB_ICONSTOP
MB_ICONERROR



This function has beed added in the latest version 3.2

Dmitry.

Re: mbYes+mbNo how to translate

Ok, thank you.
Good Work!