Look into SCREEN=OFF and making one of your forms top-level to get rid of the screen. For the quick and dirty, do this:
_SCREEN.MinButton=.F.
_SCREEN.MaxButton=.F.
ON SHUTDOWN DO nothing
.
.
.
PROCEDURE nothing
RETURN
They can click Close all they want and it won't happen :-)
>How can I prevent a user from clicking on maximize, minimize and Exit button on the title bar? My foxpro application somehow runs under foxpro window. Essentially, I have two windows open, although it is desirable that the foxpro window wouldn't show, but I don't know how to prevent that. I don't want the user to click any buttons except my command button. Help appreciated
>
>
>thank you
>nick
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05