Re: Little help???


[ DelphiLand Discussion Forum ]

Posted by webmaster Guido on March 29, 2003

In Reply to: Little help??? posted by TT on March 28, 2003

: I was wondering if you can control any componant with a variable. now this doesent work but its what i would like to be able to do.

: For X:=1 to 10 do
: begin
: edit[X].enabled:=false;
: end;

: Any idea how i could get this to work?
-------------

In DelphiLand's section "CodeSnips", there is some example code for this under "Changing properties for all components of a certain type".



Related Articles and Replies:


[ DelphiLand Discussion Forum ]