Topic: custom header or icons in message box?

Hello, how can I change the header of a MessageDlg or ShowMessage? Can I insert custom icons? Thank You.

Re: custom header or icons in message box?

Hello,


You can use the following

MessageDlg('Message', mtInformation, mbOk, 0); // Displays an 'i' in a bubble, header is: Information
MessageDlg('Message', mtConfirmation, mbOk, 0); // Displays an 'i' in a bubble, header is: Confirm
MessageDlg('Message', mtWarning, mbOk, 0); // Displays a exclamation symbol, header is: Warning
MessageDlg('Message', mtError, mbOk, 0); // Displays a red 'X', header is: Error

You can't change the header and custom icons.

Dmitry.