Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Background Color for Command Buttons
Message
 
 
À
06/06/2001 09:12:13
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00514892
Message ID:
00519471
Vues:
23
Brad,

Thanks for the suggestion--and all the others I received!

The solution that works best is indeed to use the container. I created a class that includes a picture and label. In the Click method of those you simply call the container Click method. The MouseDown and MouseUp events are responsible for setting the SpecialEffect property of the container to Sunken and Raised.

There is a secret, however, which you hinted at: You have to set the visible property or else the container won't change. This is a bug documented in MSDN Q170597.

Otherwise it works great. Thanks to all who offered suggestions!

Rich
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform