Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Prevent user from clicking max, min, X buttons
Message
From
31/08/1999 18:53:30
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00259965
Message ID:
00259966
Views:
17
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform