统计大小不会:(个数如下
var
flb: tfilelistbox;
i: integer;
a: TObject;
begin
filepath := ExtractFilePath(Application.ExeName);
flb := tfilelistbox.Create(self);
flb.mask := '*.*';
flb.parent := self;
flb.directory := filepath + 'testlist/';
for i := 0 to flb.items.Count - 1 do
begin
combobox1.AddItem(flb.Items, a);
combobox2.AddItem(flb.Items, a);
combobox3.AddItem(flb.Items, a);
end;
flb.Free;
end;