Re: [Lazarus] TForm.CreateNew - form hides not immediately

2020-02-17 Thread Mattias Gaertner via lazarus
On Sun, 16 Feb 2020 22:56:46 +0300 "Alexey Tor. via lazarus" wrote: > Linux gtk2. > >   Form:= TForm.CreateNew(Application.MainForm); >   Form.Visible:= FOption; Form:=TForm1(TForm1.NewInstance); Form.DisableAutoSizing; Form.CreateNew(Application.MainForm); Form.Visible:=FOption; Fo

[Lazarus] TForm.CreateNew - form hides not immediately

2020-02-16 Thread Alexey Tor. via lazarus
Linux gtk2.   Form:= TForm.CreateNew(Application.MainForm);   Form.Visible:= FOption; if FOption=False, form flickers! it appears for 0.2sec and hides. Can we avoid flicker and just hide? Maybe AVisible param can be added to CreateNew? It is so on all widgetsets? -- Regards, Alexey -- _