标签:box component listbox int begin list cli tco info
Uses TypInfo;
{$R *.dfm}
procedure TForm1.Button1Click(Sender: TObject);
var
I: Integer;
begin
for I := 0 to ComponentCount - 1 do
if IsPublishedProp(Components[I], ‘Caption‘) then
ListBox1.Items.Add(Components[I].Name);
end;
标签:box component listbox int begin list cli tco info
原文地址:http://www.cnblogs.com/yzryc/p/6272983.html