Hi Hilmar,
the controls within the container are still enabled (if ask them)
You may do the following
Add a ASSIGN Method to your container class
within ENABLED_Assign
LPARAMETERS;
tvNewVal
THIS.ENABLED = tvNewVal
THIS.SETALL('ENABLED',tvNewVal)
This switches all elements within your container
You may play around with backcolor as well
Agnes
>If I disable a container-type element (container, grid, etc.), the elements inside can't be accessed, but there is no visible clue that they are disabled.
>
>I briefly considered something like changing the base classes, to disable all included elements (perhaps with an _assign method), but I see several problems with this. For instance, if I simply re-enabe the included elements, this will include elements formerly disabled, that I want to keep disabled for some reason.
>
>How do other developers deal with this situation?
>
>TIA, Hilmar.
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord
Weeks of programming can save you hours of planning.
OffThere is no place like [::1]