[SOLVED] need ShowMessage() or MessageDlg() with greater width lazarus / 31-LCL ---------------------------------------------------------------------- Hartmut · 2017-07-16 16:24 I need something like ShowMessage() or MessageDlg() to display some text, but I have some longer lines and don't want them to be broken. So I want to set the width of their dialog box to a larger value. I found no way. Is that possible? If not, is there another Control you could recommend, where I can display some text, wait for an OK-button or Escape-key and where I can manipulate the width of the dialog box? I'm a beginner to the LCL... Thanks in advance. I use Lazarus 1.6.2 with FPC 3.0.0 on Win7 ---------------------------------------------------------------------- Handoko · 2017-07-16 16:38 I think you will be interested to read this: http://forum.lazarus.freepascal.org/index.php/topic,36586.msg244036.ht ml ---------------------------------------------------------------------- Hartmut · 2017-07-16 17:38 Yes! Although the solution from Zoran with the 'NonBreakingSpace' does not work for me, because the long lines are cut and some text parts are replaced by '...', but the solution from GetMem works perfectly. Thanks a lot for your valuable help!