On Wed, 31 Jul 2013 12:09:44 +0100
Chavoux Luyt <[email protected]> wrote:

>[...]
> > Just a related question on this:
> What happens afterwards when I say Form1.Enabled:=true; ?

Form1.Enabled does not change the 'Enabled' values of child controls.
A control is enabled if itself and all its parents are enabled.
See TControl.IsEnabled.


> 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?

You get the old state. No child property was changed.

Mattias

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to