Панели я создаю так:
Код: Выделить всё
Pan:= TPanel.Create(F_GoodsV2.ScrollBox_Prop);
with Pan do
begin
Parent:=F_GoodsV2.ScrollBox_Prop;
Visible:= true;
Top:=(i* 41)+1;
Left:=0;
Height:=41;
Width:=365;
Name:= 'Pan_Prop'+ IntToStr(i);
Caption:='';
end;