Changeset 178 for branches/highdpi/Back.pas
- Timestamp:
- Jun 23, 2019, 3:15:29 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/highdpi/Back.pas
r105 r178 5 5 6 6 uses 7 LCLIntf, LCLType, SysUtils, Classes, Graphics, Forms, Controls ;7 LCLIntf, LCLType, SysUtils, Classes, Graphics, Forms, Controls, UDpiControls; 8 8 9 9 type … … 18 18 procedure FormClose(Sender: TObject; var Action: TCloseAction); 19 19 private 20 Img: T Bitmap;20 Img: TDpiBitmap; 21 21 end; 22 22 … … 44 44 FileName := HomeDir + 'Graphics' + DirectorySeparator + 'Background.png'; 45 45 if FileExists(FileName) then begin 46 Img := T Bitmap.Create;46 Img := TDpiBitmap.Create; 47 47 LoadGraphicFile(img, FileName); 48 48 end;
Note:
See TracChangeset
for help on using the changeset viewer.