Ignore:
Timestamp:
Dec 3, 2023, 11:28:08 AM (5 months ago)
Author:
chronos
Message:
  • Added: High DPI support integrated into trunk branch. It can be enabled by adding DPI define to compiler parameters for main project and packages.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LocalPlayer/PVSB.pas

    r447 r468  
    66uses
    77  {$IFDEF WINDOWS}Windows,{$ENDIF}
    8   Classes, Controls, Forms, LCLIntf, LCLType, LMessages, Messages, SysUtils,
    9   StdCtrls, Math;
     8  Classes, LCLIntf, LCLType, LMessages, Messages, SysUtils, Math,
     9  {$IFDEF DPI}Dpi.Controls, Dpi.Forms, Dpi.StdCtrls{$ELSE}
     10  Controls, Forms, StdCtrls{$ENDIF};
    1011
    1112type
     
    183184  Inc(Count);
    184185  ScrollBar := TScrollBar.Create(Parent);
    185   ScrollBar.Kind := sbVertical;
     186  ScrollBar.Kind := TScrollBarKind.sbVertical;
    186187  ScrollBar.Name := 'PVSB' + IntToStr(Count);
    187   ScrollBar.Align := alRight;
     188  ScrollBar.Align := TAlign.alRight;
    188189  ScrollBar.OnChange := ScrollBarChanged;
    189190  ScrollBar.Parent := Parent;
Note: See TracChangeset for help on using the changeset viewer.