Sorry, I should have also added...

Lazarus 1.4 Windows 7 fpc 2.6.4

Richard

On 26 April 2015 at 06:56, Richard Mace <[email protected]> wrote:

> 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
>
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to