Changeset 107 for trunk/UCore.pas
- Timestamp:
- Oct 11, 2016, 4:44:43 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UCore.pas
r104 r107 165 165 166 166 procedure TCore.ScaleDPI; 167 var168 I: Integer;169 167 begin 170 //ScaleDPI1.DPI := Point(150, 150); 171 with ScaleDPI1 do 172 if (DesignDPI.X <> DPI.X) or (DesignDPI.Y <> DPI.Y) then begin 173 for I := 0 to Screen.FormCount - 1 do begin 174 //StoreDimensions(Screen.Forms[I], StoredDimension); 175 //ScaleDimensions(Screen.Forms[I], StoredDimension); 176 end; 177 end; 168 Core.ScaleDPI1.ScaleImageList(FormMain.ImageList1, Core.ScaleDPI1.DesignDPI); 169 Core.ScaleDPI1.ScaleControl(FormMain.ToolBar1, Core.ScaleDPI1.DesignDPI); 178 170 end; 179 171
Note:
See TracChangeset
for help on using the changeset viewer.