[Lazarus] Subroutine ?
nc-gaertnma at netcologne.de
Wed Jul 31 15:32:06 CEST 2013
On Wed, 31 Jul 2013 12:09:44 +0100
Chavoux Luyt <chavoux at gmail.com> 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.
> 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.
More information about the Lazarus