Ignore:
Timestamp:
Dec 17, 2023, 11:54:58 PM (11 months ago)
Author:
chronos
Message:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Packages/DpiControls/Dpi.Forms.pas

    r473 r495  
    191191    procedure UpdateMainForm(AForm: TForm);
    192192    procedure CreateForm(InstanceClass: TComponentClass; out Reference);
     193    procedure RemoveStayOnTop(const ASystemTopAlso: Boolean = False);
    193194    function MessageBox(Text, Caption: PChar; Flags: Longint = MB_OK): Integer;
    194195    property MainForm: TForm read GetMainForm write SetMainForm;
     
    463464end;
    464465
     466procedure TApplication.RemoveStayOnTop(const ASystemTopAlso: Boolean);
     467begin
     468  GetNativeApplication.RemoveStayOnTop(ASystemTopAlso);
     469end;
     470
    465471function TApplication.MessageBox(Text, Caption: PChar; Flags: Longint
    466472  ): Integer;
Note: See TracChangeset for help on using the changeset viewer.