Search code examples
delphivcldelphi-12-athens

Delphi 12 Athens Child Form Flickering


After updating to the new version of Delphi in RAD Studio 12 Athens, child VCL Forms are flickering in the Form activation event.

Does any one knows the reason?


Solution

  • You just need to put this code after Application.Initialize:

    TStyleManager.ChangeChildFormSystemBorder:=False;
    

    Embarcadero describes this new option:

    Child forms can now have a new modern flat border (the new property is TStyleManager.ChangeChildFormSystemBorder)