Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to launch form as object from a function
Message
De
03/10/2002 18:30:38
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
How to launch form as object from a function
Divers
Thread ID:
00707602
Message ID:
00707602
Vues:
50
I am writing a project in which all forms must be checked for user access before launching them. A badge scan is required when the form is requested. I cannot use a universal login because this application sits on a shop floor and is stateless. To handle security I have a function in the project's main procedure file that the form name is passed to. Security is checked through a security object and if the user is okay the form is opened. The problem, how do I launch the form as an object and have it stay open? When I run the function the form loads, shows, and then immediately vanishes. Maybe it would stay open by me using a global variable as the object name? But then the forms would keep overwriting each other because they're all using the same global. I would rather load the forms as objects with the newobject() command then run them with do form.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform