设置ListBox的ListBox1.Style := lbOwnerDrawVariable;
然后在他的OnDrawItem中写代码:
procedure TForm1.ListBox1DrawItem(Control: TWinControl; Index: Integer;
Rect: TRect; State: TOwnerDrawState);
begin
if Index = 1 then
ListBox1.Canvas.Font.Style := [fsBold];
ListBox1.Canvas.TextRect(Rect, Rect.Left, Rect.Top, ListBox1.Items[Index]);
end;