如何从表单或面板中获取所有组件并将visible属性设置为false?
///
/// loop all components, this is just an idea for the solution ,,,,
///
for i:= 0 to myPanel.ComponentsList do
begin
///
MyComponent.visible := false;
end;
答案 0 :(得分:3)