I want to disable all controls on form barring two buttons. I have
about 20 controls.
Is there a way I can reference all controls on the form in one go?
So I could then do something like..
AllControls.Enabled = false;
mybuttoncontrol.enabled = true;
Otherwise I have to write out manually every single control to disable.
Thanks,
Gary.