Dominique Louis wrote: > 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. _______________________________________________ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus