Ignore:
Timestamp:
Jun 5, 2023, 7:40:45 PM (12 months ago)
Author:
chronos
Message:
  • Modified: Update Common and VCard package. Remove U prefix from unit names.
File:
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/Packages/Common/ScaleDPI.pas

    r147 r148  
    1 unit UScaleDPI;
     1unit ScaleDPI;
    22
    33{ See: http://wiki.lazarus.freepascal.org/High_DPI }
     
    3030  end;
    3131
    32   TOnScaleControl = procedure (Control: TControl) of object;
    33 
    3432  { TScaleDPI }
    3533
     
    3937    FDesignDPI: TPoint;
    4038    FDPI: TPoint;
    41     FOnScaleControl: TOnScaleControl;
    42     FOnScaleControls: TOnScaleControl;
    4339    procedure SetAutoDetect(AValue: Boolean);
    4440    procedure SetDesignDPI(AValue: TPoint);
     
    6056  published
    6157    property AutoDetect: Boolean read FAutoDetect write SetAutoDetect;
    62     property OnScaleControl: TOnScaleControl read FOnScaleControls
    63       write FOnScaleControl;
    6458  end;
    6559
     
    376370  end;
    377371
    378   if Assigned(FOnScaleControl) then
    379     FOnScaleControl(Control);
    380 
    381372  //if Control is TForm then
    382373  //  Control.EnableAutoSizing;
Note: See TracChangeset for help on using the changeset viewer.