>Normaly when I disable a button it gets greyed out.
>
>But when I put some buttons in a commandgroup or container
>an I disable the container all buttons keep the normal
>color. They are disabled but they look enabled.
>
>I can disable them one by one. Everything goesjust fine then.
>But, is there a way to disable them all whitout disabling
>each button seperately ?
Use the setall() method of the commandgroup or container to set the enabled property of the buttons.
container.setall("enabled",.F.)
to disable them and
container.setall("enabled",.T.)
to enable them.
Cy Welch
Senior Programmer/Analyst
MetSYS Inc