如何使 showmessage提示时的"yes"按钮和"no"按钮变成中文“确定“和“取消”
比如
if messagedlg('打印请点确认按钮 ',mtconfirmation,[mbyes,mbno],0)=mryes then提示有两个选项"yes"按钮和"no"按钮,如何使他显示为中文“确定“和“取消”
比如
if messagedlg('打印请点确认按钮 ',mtconfirmation,[mbyes,mbno],0)=mryes then提示有两个选项"yes"按钮和"no"按钮,如何使他显示为中文“确定“和“取消”
Conts文件中的:(修改后把这个文件拷贝到你的工程的路径中)
SMsgDlgWarning = 'Warning';
SMsgDlgError = 'Error';
SMsgDlgInformation = 'Information';
SMsgDlgConfirm = 'Confirm';
SMsgDlgYes = '&Yes';
SMsgDlgNo = '&No';
SMsgDlgOK = 'OK';
SMsgDlgCancel = 'Cancel';
SMsgDlgHelp = '&Help';
SMsgDlgHelpNone = 'No help available';
SMsgDlgHelpHelp = 'Help';
SMsgDlgAbort = '&Abort';
SMsgDlgRetry = '&Retry';
SMsgDlgIgnore = '&Ignore';
SMsgDlgAll = '&All';
SMsgDlgNoToAll = 'N&o to All';
SMsgDlgYesToAll = 'Yes to &All';
Application.MessageBox 可以的。