W
wooiguo
Unregistered / Unconfirmed
GUEST, unregistred user!
代码如下:
for i:=0 to Panel1.componentcount-1 do
if Panel1.Components is TControl then
(Panel1.Components as TControl).enabled:=false;
for i:=0 to Panel1.componentcount-1 do
if Panel1.Components is TControl then
(Panel1.Components as TControl).enabled:=false;