Hi Bill,
You can add an image control to the _Screen object and show picture in it. This way you have full control over picture position and size.
_screen.AddObject("oImg", "Image")
_screen.oImg.Picture = "FileName.jpg"
_screen.oImg.Top = 100
_screen.oImg.Left = 100
...
_screen.oImg.Visible = .t.
>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
--sb--