Einzelnen Beitrag anzeigen

Blup

Registriert seit: 7. Aug 2008
Ort: Brandenburg
1.429 Beiträge
 
Delphi 10.4 Sydney
 
#2

AW: BottomRight des sichtbaren Bereichs einer ScrollBox?

  Alt 8. Jan 2014, 15:28
Versuch mal so:
Delphi-Quellcode:
RangeRect := ScrollBox.ClientRect;
dx := ScrollBox.HorzScrollBar.Position - RangeRect.Left;
dy := ScrollBox.VertScrollBar.Position - RangeRect.Top;
Inc(RangeRect.Left, dx);
Inc(RangeRect.Right, dx);
Inc(RangeRect.Top, dy);
Inc(RangeRect.Bottom, dy);
  Mit Zitat antworten Zitat