[Lazarus] ShowModal always brings up MainForm, is this normal? (GTK)
All my forms are auto-created (is this relevant?). When I call (in MainForm) Form1.Show and then Form1 calls Form2.ShowModal, the MainForm is ALWAYS brought up behind Form2. If you have a document open and you want to work side-by-side with Form1 (and eventually Form2), you need to move MainForm somewhere (and sometimes there's no space) to avoid blocking the view of the document. Even if I minimize the MainForm before calling Form2.ShowModal, the MainForm always comes up. Is this normal? Is there a way to go around it? -- Atenciosamente, Alexsander da Rosa -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] ShowModal always brings up MainForm, is this normal? (GTK)
On 12/02/2014 03:08 PM, Alexsander Rosa wrote: All my forms are auto-created (is this relevant?). When I call (in MainForm) Form1.Show and then Form1 calls Form2.ShowModal, the MainForm is ALWAYS brought up behind Form2. If you have a document open and you want to work side-by-side with Form1 (and eventually Form2), you need to move MainForm somewhere (and sometimes there's no space) to avoid blocking the view of the document. Even if I minimize the MainForm before calling Form2.ShowModal, the MainForm always comes up. Is this normal? Is there a way to go around it? Create issue and attach example project. Also write (explain) as much possible about widgetset if you're under x11 (eg distro, window manager, libs version if you're talking about gtk2 or qt). zeljko -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] ShowModal always brings up MainForm, is this normal? (GTK)
Is this normal? Is there a way to go around it? Yes, I experience both in Windows and Linux (KDE). This applies to non-Lazarus made apps as well, so I guess it's system defined. -- View this message in context: http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-ShowModal-always-brings-up-MainForm-is-this-normal-GTK-tp4039632p4039642.html Sent from the Free Pascal - Lazarus mailing list archive at Nabble.com. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus