Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
_screen.picture doesn't streatch
Message
De
12/08/2003 21:45:07
Max Chen
Yx Software
Shunde, Chine
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Photos et traitement d'images
Divers
Thread ID:
00819064
Message ID:
00819671
Vues:
13
Create a class base on Container and contain one image control, code it. And add it to -screen with addobject when the app init.

It provide the function of changing backcolor, _screen wallpaper ...etc., when user rightclick the _screen.

max.


>Have an application (.exe) where the user can go into an options form and by double-clicking on an image control can change the .jpg or .bmp picture displayed as background for the app. This is done by setting the _screen.picture to a .jpg (including path).
>The problem is where the dimension of the .jpg is less than the display screen resolution it duplicates the .jpg picture.
>Is there something similar to the "streatch" property in the image control to enable it to fill the background screen without duplicating (and hopefully not distorting the image either)?
>Am using Win xp home, vfp 7.1 on a p 4 pc.
>All help appreciated.
>Bill Wright
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform