Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Still trying to change a cmdButton Backcolor.
Message
De
29/12/2001 11:23:38
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00599107
Message ID:
00599123
Vues:
18
>>>If you wish - try using a container with label and invisible command button in it. You will need additional programming. Check your previous thread (Different Command Button Color)
>>
>>Zlatin,
>>
>>Here is the dilemma I am facing. I tried placing a cmdButton inside a container class. However, I still don't understand how to change the backcolor of the cmdButton. I can change the backcolor of the container.
>
>Eric,
>
>The mistake in thinking you may be making, is that you try to use the CommandButton control. Though you can (invisible), my solution isn't about a CommandButton at all. Just Containers, and at your wish a Label in it, an Image, and Shapes to finish it off.
>Always think of making according objects transparent or just not, and remember that everything which is not transparent, masks the underlaying objects.
>Also don't forget to "click through" a top-level object to the lower ones (when the click is needed there).
>
>You may need some MouseDown and MouseUp methods to control the "depth" of the Containers, in order to show the pressed button (i.e. shift the position of the underlaying Container).
>
>HTH,


Peter,

Can you send me a sample??

ericreed01@home.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform