>>mahmood,
>>
>>try
>>
>>MODIFY WINDOW SCREEN FONT "arial", 10 TITLE 'My Application' FILL FILE pictures\logo1.bmp NOCLOSE
>>
>>
>>HTH
>This method will tile the picture in the background of the main FoxPro window.
>
>Is there a way to display a picture and have it centered in the background?
>And is there a way that it would remain centered if the window is resized?
>
>Mark
You can add image control right to the _screen object.
_screen.addobject("mylogo", "image")
_screen.mylogo.picture = "c:\somedir\mylogo.bmp"
* set _screen.mylogo left, top, width, height, etc. properties here.
_screen.mylogo.visible = .t.
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison