Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
_screen.picture doesn't streatch
Message
From
12/08/2003 21:45:07
Max Chen
Yx Software
Shunde, China
 
General information
Forum:
Visual FoxPro
Category:
Pictures and Image processing
Miscellaneous
Thread ID:
00819064
Message ID:
00819671
Views:
12
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
Previous
Reply
Map
View

Click here to load this message in the networking platform