Changeset 193 for branches/highdpi/Inp.pas
- Timestamp:
- May 7, 2020, 7:05:57 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/highdpi/Inp.pas
r111 r193 7 7 ScreenTools, Messg, 8 8 LCLIntf, LCLType, SysUtils, Classes, Graphics, Controls, Forms, DrawDlg, 9 ButtonA, StdCtrls ;9 ButtonA, StdCtrls, UDpiControls; 10 10 11 11 type … … 88 88 EInput.SelLength := Length(EInput.Text); 89 89 if Center then 90 CenterToRect(Rect(0, 0, Screen.Width,Screen.Height));90 CenterToRect(Rect(0, 0, DpiScreen.Width, DpiScreen.Height)); 91 91 end; 92 92
Note:
See TracChangeset
for help on using the changeset viewer.