各位大侠:
我想自定义ComboBox下拉列表的每一项的高度,使用下面的程序可以达到目标,但下拉框中最多只显示1-2项,这是什么原因呢,怎么解决?
ComboBox1(DropDownCount=8,Style=csOwnerDrawVariable)procedure TForm1.ComboBox1MeasureItem(Control: TWinControl;
  Index: Integer; var Height: Integer);
var
  R:TRect;
begin
  if Index>=0 then
  begin
    Height:=Control.Height+5;
  end;
end;