Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   GUI-Design mit VCL / FireMonkey / Common Controls (https://www.delphipraxis.net/18-gui-design-mit-vcl-firemonkey-common-controls/)
-   -   Delphi TCustomGrid.WMEraseBkgnd() -> flackern (https://www.delphipraxis.net/193349-tcustomgrid-wmerasebkgnd-flackern.html)

Whookie 20. Jul 2017 12:03

TCustomGrid.WMEraseBkgnd() -> flackern
 
Ich lade gerade Tokyo herunter aber das dauert wohl noch so 19h (:thumb:) und daher eine Bitte:

Kann mal jemand in Vcl.Grids.pas nachsehen ob TCustomGrid.WMEraseBkgnd da auch ohne Rücksicht das kleine Rechteck zwischen den ScrollBars füllt?

Delphi-Quellcode:
begin
  { Fill the area between the two scroll bars. }
  Size.cx := GetSystemMetrics(SM_CXVSCROLL);
  Size.cy := GetSystemMetrics(SM_CYHSCROLL);
  if UseRightToLeftAlignment then
    R := Bounds(0, Height - Size.cy, Size.cx, Size.cy)
  else
    R := Bounds(Width - Size.cx, Height - Size.cy, Size.cx, Size.cy);
  FillRect(Message.DC, R, Brush.Handle);
  Message.Result := 1;
end;


Alle Zeitangaben in WEZ +1. Es ist jetzt 05:42 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz