Thema: Delphi Brush.Style & Color

Einzelnen Beitrag anzeigen

Benutzerbild von Flocke
Flocke

Registriert seit: 9. Jun 2005
Ort: Unna
1.172 Beiträge
 
Delphi 10.2 Tokyo Professional
 
#5

Re: Brush.Style & Color

  Alt 22. Aug 2005, 08:17
Auszug aus der MSDN:
Zitat:
Although lbColor controls the foreground color of a hatch brush, the SetBkMode and SetBkColor functions control the background color.
Du solltest SetBkMode(Canvas.Handle, TRANSPARENT) und/oder SetBkColor(Canvas.Handle, clWhite) benutzen, um die Hintergrundfarbe deines Pinsels zu setzen.
Volker
Besucht meine Garage
Aktuell: RtfLabel 1.3d, PrintToFile 1.4
  Mit Zitat antworten Zitat