Hi Bill,
Try
IF NOT PEMSTATUS(_SCREEN, "oImg",5)
_screen.AddObject("oImg", "Image")
ENDIF
WITH _SCREEN.oImg
.Top = 0
.Left = 0
.Width = _SCREEN.Width
.Height = _SCREEN.Height
.Stretch = 1
.Picture = lcPictureFileName
.Visible = .T.
ENDWITH
>Hi Sergey
>I tried building _screen as an object and now the .jpg only fills part of the screen. Tried setting the stretch property to 0,1, and 2 with no change.
>When you set the display background it covers the whole screen & most of those .jpg's are 800X600, so there is something that they are doing that we don't know about.
>Also, when I go into that routine a second time I get error#1771 (a member with this name already exists). I suspect have to test for nulls but don't know the syntax.
>Thanks for your efforts.
>Bill Wright
--sb--