Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Release form in form.init()
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00425447
Message ID:
00425450
Vues:
11
>hello,
>
>I try to prevent a form from opening when the user has not the proper access level.
>I want to do something in the form class (I don't use a formhandler in this application), that when the user has no access to the form that he/she tries to open, the form will be released.
>
>How can I do this?


Simply return .f. from Form.Init, if certain conditions are met.

Or you can do earlier in Form.Load - return .f.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform