Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Image not centered
Message
De
20/11/1996 00:52:22
 
 
À
19/11/1996 11:11:52
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00012764
Message ID:
00012852
Vues:
33
>I received this code two weeks ago to center my image on my form.
>
>ThisForm.Image.Left=(ThisForm.Width-ThisForm.Image.Width)/2
>ThisForm.Image.Top=(ThisForm.Height-ThisForm.Image.Height)/2
>
>The image is centered in 800*600 but is not centered in 640*480.
>
>Any idea?

I think it's because there are more than one positioning property setting
available for an image. One of them is Stretching, I believe. I don't know
which setting needs to be used, but you might want to play with them
to get the answer.
Some things are better be left unknown...NOT!!!
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform