加一个Image(或动态生成),Visible属性设为False,然后:
以下修改自cAkk所述示例程序:
procedure TForm1.DrawItem(Control: TWinControl; Index: Integer;
Rect: TRect; State: TOwnerDrawState);
begin
with ListBox1.Canvas do
begin
FillRect(Rect);
Font.Name := ListBox1.Items[Index];
Font.Size := 0; // use font's preferred size
Draw(Rect.Left+1, Rect.Top+1, Image1.Picture.Graphic);
TextOut(Rect.Left+Image1.ClientWidth+1, Rect.Top+1, ListBox1.Items[Index]);
end;
end;