Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Put a picture in a command button
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00133717
Message ID:
00133795
Vues:
10
>>When i creat a button in form and i want to put a picture in it, But ..it's display in a center of command
>>button. How to put the picture (32x32 .bmp) on the left of button?
>
>Pongthap,
>
>You can't, pictures are centered on command buttons. You can, however, create a class based on teh control class and add the button and an image over the left side of the button. Set the image to your picture. In the Image's click event put this; THIS.Parent.Command1.Click() to make sure clicking the image will click the button.

I use simpler way - I just create the picture for my button where the necessary image is located on the left side of .BMP.
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform