Help - What is this code used for ?
- From: "Eddy Fontaine" <someone@xxxxxxxxxxxx>
- Date: Mon, 28 Nov 2005 18:23:56 +0100
I found this code in the INDY 9 basic TCPClient demo, and i have no idea
what it is used for...
procedure TfrmMain.LockControls(ALock: Boolean);
var
i : integer;
begin
for i := 0 to componentcount-1 do
if TControl(Components[i]).Tag = 99 then
TControl(Components[i]).Enabled := ALock;
end;
The rest of the demo is quite straithforward...
Thanks,
Eddy.
.
- Follow-Ups:
- Re: Help - What is this code used for ?
- From: Bruce Roberts
- Re: Help - What is this code used for ?
- Prev by Date: Re: Help ! What is this code needed for ?
- Next by Date: Re: Help ! What is this code needed for ?
- Previous by thread: Help ! What is this code needed for ?
- Next by thread: Re: Help - What is this code used for ?
- Index(es):