[Lazarus] TForm.CreateNew - form hides not immediately

Mattias Gaertner nc-gaertnma at netcologne.de
Mon Feb 17 09:21:55 CET 2020


On Sun, 16 Feb 2020 22:56:46 +0300
"Alexey Tor. via lazarus" <lazarus at lists.lazarus-ide.org> wrote:

> Linux gtk2.
> 
>    Form:= TForm.CreateNew(Application.MainForm);
>    Form.Visible:= FOption;

  Form:=TForm1(TForm1.NewInstance);
  Form.DisableAutoSizing;
  Form.CreateNew(Application.MainForm);
  Form.Visible:=FOption;
  Form.EnableAutoSizing;

Mattias



More information about the lazarus mailing list