[Lazarus] Showmodal trouble

Sebastian Kraft sebastian_kraft at gmx.de
Sun Sep 28 11:37:34 CEST 2008


Am Mittwoch, 17. September 2008 12:25:49 schrieb Sebastian Kraft:
> Hello,
>
> have some trouble with Form.ShowModal...
>
> Form1:= TForm1.create;
> Form1.ShowModal;
>
> Should bring Form1 to front, keep it on top of all other project forms and
> stay there until it is closed. Is this right?
>
> But sometimes when I click on the Mainform behind Form1 Mainform comes to
> front and Form1 is hidden behind it.... I am using GTK2 widgetset from svn.
>

I found out that it is the same problem with dialogs that are created using 
ShowMessage(); They also get hidden behind the main form.

Have created a bug  report this morning.

Sebastian



More information about the Lazarus mailing list