Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2008-05

Mac OS X : Double Click when Showing forms does not work correctly...

2 messages · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Dominique Louis

I have 2 forms in a project and from within form1 I want to show form2 via a component's double click event. Let just say by double clicking on a panel. So from the panel's double click event I do the following... form2.Show;

When the event is fired, form2 will actually appear behind form1, which is incorrect. This does not happen if the Show() is done from within a single click event and in that case, form2 correctly appears in front of form1.

Reported as Bug : 11287
http://bugs.freepascal.org/view.php?id=11287

Dominique.

Reply by email

Dominique Louis
to Dominique Louis
Dominique Louis wrote 12 lines
I have 2 forms in a project and from within form1 I want to show form2 via a component's double click event. Let just say by double clicking on a panel. So from the panel's double click event I do the following... form2.Show; When the event is fired, form2 will actually appear behind form1, which is incorrect. This does not happen if the Show() is done from within a single click event and in that case, form2 correctly appears in front of form1. Reported as Bug : 11287 http://bugs.freepascal.org/view.php?id=11287

Btw, I think this behaviour occurs to everything that inherits from TControl as I tried it with a TPanel and also a TTreeview on Mac OS X and the same incorrect behaviour occurs.

Reply by email