Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>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 ?
You could put the following in the REFRESH of the container.
THIS.SETALL('ENABLED', THIS.ENABLED, 'COMMANDBUTTON')
When you call the form's refresh all the controls in the container will follow the container's enabled state.
HTH
Mike
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement