IWCGMessageDlg Autosize

Hi,
I used the following instruction to see a error message.
But if a message text in more long i obtain the result in picture. How can i solve my problem??
Best Regards,
feland
I used the following instruction to see a error message.
- Code: Select all
IWCGMessageDlg('EXCEPTION: Error in btnInsertJQButtonOptionsClick: ' + e.Message, mtError, [mbOK], nil);
But if a message text in more long i obtain the result in picture. How can i solve my problem??
Best Regards,
feland