[Lazarus] Nokia N810 +Ubuntu +Lazarus
Osvaldo Filho
arquivostcf at gmail.com
Thu Oct 29 19:25:40 CET 2009
2009/10/29 SteveG <steveg at nevets.com.au>:
> On Friday 30 October 2009 01:58:57 Paul Ishenin wrote:
>> SteveG wrote:
>> > Would anybody know how to ensure a Laz form is brought to top, even if
>> > Laz app doesnt currently have focus ?
>> >
>> > eg - an alert msg/form to be forced to top/front every x seconds until
>> > acknowledged. Needs to be brought to top/front again even if user clicks
>> > on window behind and covers it.
>>
>> AForm.BringToFront ?
>
> 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
Which widgetset? It may depend on your window manager, but for gtk
something like gtk_window_present() should work. Don't know about Qt.
XRaiseWindow should do the job for all widgetsets, but that's more
work.
Henry
More information about the Lazarus
mailing list