Einzelnen Beitrag anzeigen

drama22

Registriert seit: 12. Jan 2013
88 Beiträge
 
#7

AW: how do i remove white background in node inside virtual TVirtualStringTree?

  Alt 6. Apr 2016, 15:03

I can't even see the actual VirtualStringTree control on this picture Is it the gradient thingy in the background?
this gradient can be drawn easy on paint-background as eg .
Delphi-Quellcode:
procedure TForm2.VTs1PaintBackground(Sender: TBaseVirtualTree;
  TargetCanvas: TCanvas; R: TRect; var Handled: Boolean);
begin
 //
  GradientFillCanvas(TargetCanvas, clred, clWhite, R, gdHorizontal); // GraphUtil
  Handled := True;

end;
the white bg of node is the issue see my example
Miniaturansicht angehängter Grafiken
copied.jpg  

Geändert von drama22 ( 6. Apr 2016 um 22:19 Uhr)
  Mit Zitat antworten Zitat