Einzelnen Beitrag anzeigen

Benutzerbild von DP News-Robot
DP News-Robot

Registriert seit: 4. Jun 2010
14.980 Beiträge
 
#1

Beware of TForm.SetBounds in a multi-monitor context

  Alt 1. Aug 2019, 09:10
When in a multi-monitor context with monitors having varying DPI settings, TForm.SetBounds can be a little ambiguous when combined with form scaling. The issue comes from Width / Height, in Delphi 10.3.1, they are understood as applying to the monitor the form is currently one, not the monitor SetBounds could be moving the form to.…

Weiterlesen...
  Mit Zitat antworten Zitat