[Lazarus] ShowMessage not Modal

Richard Mace richard.mace at gmail.com
Sun Apr 26 07:56:00 CEST 2015


Hi All,
I have a strange problem.
If I use ShowModal (or MessageDlg) in my application, the code is being
executed, but it is not Modal.

e.g.

If I coded

ShowMessage('Hello');
Close;
Exit;

The message would not show (or just flicker) and the application would
close.

What's puzzling is that if I create a new app, and they do the same code,
it works as expected!

Any ideas?

Richard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20150426/519af7e6/attachment-0002.html>


More information about the Lazarus mailing list