var rect:TRect;
box:TCombobox;
begin
rect:=stringgrid1.CellRect(1,stringgrid1.Row);
box:=TCombobox.Create(form1);
box.Parent:=stringgrid1;
box.Visible:=true;
box.Left:=Rect.Left;
box.Top:=Rect.Top;
box.Width:=Rect.Right-Rect.Left;
box.Height:=Rect.Bottom-Rect.Top;
box.Items.Add('asd');
box.Items.Add('bbb');
但问题是选择的时候下拉框没有显示出来