Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CommandGroup, Container + button NOT greyed out problem
Message
 
À
23/04/2001 13:55:24
Ing. T.R.M. Pluym
Pluym Elektronics Bv
Hulst, Pays-Bas
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00498664
Message ID:
00498667
Vues:
12
>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 ?

When you disable the group, you're disabling the container. The buttons are actually disabled, but can't be clicked. If you want the button's disabled, simply: This.Enabled = This.Parent.Enabled in the refresh and when the status changes call ThisForm.Refresh.
George

Ubi caritas et amor, deus ibi est
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform