Ignore:
Timestamp:
Oct 4, 2024, 2:55:11 PM (3 weeks ago)
Author:
chronos
Message:
  • Fixed: Log and AI turnament windows were not shown correctly.
File:
1 edited

Legend:

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

    r622 r629  
    8686    function GetRestoredTop: Integer;
    8787    function GetRestoredWidth: Integer;
     88    function GetScaled: Boolean;
    8889    function GetShowInTaskbar: TShowInTaskbar;
    8990    function GetWindowState: TWindowState;
     
    104105    procedure FormMessageHandler(var TheMessage: TLMessage);
    105106    procedure SetPosition(AValue: TPosition);
     107    procedure SetScaled(AValue: Boolean);
    106108    procedure SetShowInTaskBar(AValue: TShowInTaskbar);
    107109    procedure SetWindowState(AValue: TWindowState);
     
    159161    property ShowInTaskBar: TShowInTaskbar read GetShowInTaskbar write SetShowInTaskBar
    160162                                        default stDefault;
     163    property Scaled: Boolean read GetScaled write SetScaled default True;
    161164  end;
    162165
     
    624627end;
    625628
     629function TForm.GetScaled: Boolean;
     630begin
     631  Result := GetNativeForm.Scaled;
     632end;
     633
    626634function TForm.GetShowInTaskbar: TShowInTaskbar;
    627635begin
     
    713721begin
    714722  GetNativeForm.Position := AValue;
     723end;
     724
     725procedure TForm.SetScaled(AValue: Boolean);
     726begin
     727  GetNativeForm.Scaled := AValue;
    715728end;
    716729
Note: See TracChangeset for help on using the changeset viewer.