Have a look at "Forum: Visual FoxPro Category: Coding, syntax & commands Title: Re: Disabling a container Thread #
613278 Message #
615050"
It shows a way to add code to your base container class that will disable all the controls when the main container's enabled changes.
>Hi
>
>Using newobject I am creating controls in a container on a form.
>
>I want to enable and disable the controls and I can do that by enabling the container. But that doesn't highlight the controls as disabled.
>Is there a way of finding what controls are in the container and disabling them individually .
>Or do I have to store the control names as I create them and then use that.
>
>Thanks
>
>Nick Mason
Roi
'MCP' Visual FoxPro
In Rome, there was a poem.
About a dog, who found two bone.
He lick the one, he lick the other.
He went pyscho, he drop dead!