>I've just discovered something interesting.
>
>I have a function like this to center a BMP on the screen.
>
>_screen.Image.Left=(_screen.Width/2)-(_screen.Image.Width/2)
>
>When I run from the EXE, the _SCREEN visible equal .F. because I need to do some setup and once completed I put it to .T.
>
>However, when it is .F., the value of _SCREEN.WIDTH will not be the real value because the screen is not visible at the time of that function.
>
>Any idea on how to solve this situation?
The only to solve that is that I have to put _screen.Visible=.T. before processing my centering stuff.
If anyone find a way to center those images while keeping _screen.Visible=.F., I will appreciate a comment.