Forum: GUI-Design mit VCL / FireMonkey / Common Controls
by Luckie,
20. Feb 2009
Das war die Lösung. Damit hat sich auch gleich noch ein anderes Problem gelöst. Vorher war nämlich imme rnur der Text farbig hinterlegt, wenn man ein Item selektiert hat, jetzt ist das ganze Rechteckt farbig hinterlegt. Besten Dank.
Forum: GUI-Design mit VCL / FireMonkey / Common Controls
by Luckie,
20. Feb 2009
Ich zeichne mit folgende,m Code die Inahlte einer Listbox selber:
procedure DrawItems(Control: TWinControl; Index: Integer; Rect: TRect; State: TOwnerDrawState);
const
Col2 : array of TColor = (clInactiveCaptionText, clWindowText);
var
Bmp: TBitmap;
ItemCaption : string;
Nachname : string;
Vorname : string;
Firma : string;