P
pchddcat
Unregistered / Unconfirmed
GUEST, unregistred user!
begin
for I := 0 to ComponentCount - 1 do
begin
S := Components.ClassName;//这段是什么意思
if S = 'TEdit' then
TEdit(Components).Text := ''//(Components).是什么意思
else
if S = 'TComboBox' then
TCombobox(Components).ItemIndex := -1;
end;
end;
for I := 0 to ComponentCount - 1 do
begin
S := Components.ClassName;//这段是什么意思
if S = 'TEdit' then
TEdit(Components).Text := ''//(Components).是什么意思
else
if S = 'TComboBox' then
TCombobox(Components).ItemIndex := -1;
end;
end;