[Lazarus] Form to front

Hans-Peter Diettrich DrDiettrich1 at aol.com
Thu Oct 29 21:20:52 CET 2009


SteveG schrieb:

>>> Would anybody know how to ensure a Laz form is brought to top, even if
>>> Laz app doesnt currently have focus ?

> I have tried all (I think) permutations of Form.BringToFront / OnTop / 
> MakeVisible / etc I can find.
> It would seem under KDE (at least) if your app doesnt have focus, your forms 
> dont pull to front on standard commands ?
> Even under Windows I needed to call the API directly to help out here - just 
> dont know how to do the same with linux

AFAIR on Windows it's IMO a matter of configuration, whether an 
application can "steal the focus". Does your OS have a similar option?

DoDi





More information about the Lazarus mailing list