Forum: GUI-Design mit VCL / FireMonkey / Common Controls
Delphi
by Martin K,
12. Mai 2006
Danke :thumb:
Das war's!
Warum bin ich da eigentlich nicht selber drauf gekommen? :gruebel:
Forum: GUI-Design mit VCL / FireMonkey / Common Controls
Delphi
by Martin K,
11. Mai 2006
Hi Leute,
ich hab mal wieder ein Problem.
Ich habe mir eine ComboBox auf die Form gelegt und den Style auf 'csOwnerDrawFixed' gesetzt (damit ich per Canvas auf die Items zeichnen kann).
Bei OnDrawItem habe ich folgende Prozedur:
procedure TForm1.ComboBox1DrawItem(Control: TWinControl; Index: Integer;
Rect: TRect; State: TOwnerDrawState);