有一种使用在运行时创建的组件的属性不知道它的名字呢?我的意思是你已经完成了这个。如何在不知道名称的情况下访问组件的属性?
with TPanel.Create(self) do
begin
Name := 'Panel' + IntToStr(ComponentCount + 1);
Height := 50;
Width := 100;
Top := 30;
Left := 30;
Parent := self;
end;
存放在容器中的对象,如'从TList' –
whosrdaddy