EnableControls

EnableControls procedure

procedure EnableControls(Enable: Boolean; Const ControlArray: array of TControl);

Unit
TeeProcs

Description
Sets the Enabled property for all the controls in the ControlArray parameter to the Enable value.

EnableControls( True, [ Button1, CheckBox1, Label1 ] );