On Tue, 30 Jul 2013 22:53:40 -0500
"Terry A. Haimann" <[email protected]> wrote:

> I am sure this is a dumb ?, but I want a subroutine that will change all
> of the components of a form to Enabled := False.
> 
> How do I do this?

for i:=0 to ControlCount-1 do
  Controls[i].Enabled:=false;

Mattias

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to