Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Prevent user from clicking max, min, X buttons
Message
De
31/08/1999 18:53:30
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00259965
Message ID:
00259966
Vues:
18
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform