On Wed, 25 Jun 2008 11:25:23 +0000
Mark Morgan Lloyd <[EMAIL PROTECTED]> wrote:

> Is there a portable way of bringing an application to the foreground, 
> specifically so that its "Do you really want to quit?" dialogue is 
> immediately visible?
> 
> The scenario here is that when running under KDE if you click on an 
> app's frame's close button or <Right Click><Close> on its taskbar
> button it doesn't bring the app to the foreground, so the dialogue is
> hidden.
> 
> I know that arbitrary focus changes are deprecated, but this is one
> of a small number of cases where it's justified.

Have you tried Form1.ShowOnTop?

Mattias
 
_______________________________________________
Lazarus mailing list
[email protected]
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to