[lazarus] Win32: parent form and taskbar button

Mattias Gaertner nc-gaertnma at netcologne.de
Mon Sep 1 14:15:40 EDT 2003


On Mon, 01 Sep 2003 19:44:12 +0200
Micha Nelissen <M.Nelissen at student.tue.nl> wrote:

> Karl Brandt wrote:
> 
> > Micha Nelissen wrote:
> > 
> > 
> >> Question #2 (related): Because the environment options dialog (and the 
> >> others too i presume) have their own button but are shown modal a 
> >> strange thing happens. When the dialog is shown, you can click the 
> >> main lazarus ide window, it gets focus, but it won't respond to any 
> >> clicks. This is very annoying as one would think the ide has hung
> >itself.
> > 
> > 
> > This is how ShowModal works in Win32. To see, make a test example with 
> > Delphi.
> 
> In delphi when a form is shown modal and you click another form, the
> form show modal flashes, and the other form doesn't get focus. Am I
> missing something here?

Focussing does not work properly under gtk1, so it was never tested in the
LCL. Maybe the LCL is not complete. Feel free to improve it.


Mattias






More information about the Lazarus mailing list