Button TButton ButtonList TComponentList Create ButtonList Add Button

1
2
3
4
5
Button:TButton;
ButtonList:=TComponentList.Create;
ButtonList.Add(Button);
(ButtonList.Items[0]).caption:='fdfs';