[Lazarus] Subroutine ?
chavoux at gmail.com
Wed Jul 31 13:09:44 CEST 2013
On 31 July 2013 11:00, <lazarus-request at lists.lazarus.freepascal.org> wrote:
> TComponent does not have Enabled. So the above code does not work.
> TControl has Enabled.
> Disabling a control (e.g. no focus, some widgetsets draw them
> gray) automatically disables child controls. So the easiest way
> to disable all controls on a form is to set Form1.Enabled:=false.
> Just a related question on this:
What happens afterwards when I say Form1.Enabled:=true; ?
If some controls were enabled beforehand and some were disabled, will this
be remembered or will I need to enable them one-by-one or will all controls
be enabled by default?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Lazarus