Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dumb question
Message
De
13/08/2008 15:04:04
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01338581
Message ID:
01338667
Vues:
18
>>So, Gary, move the code which was supposed to run when the form exits somewhere into that form's .unload() or (better) into some custom method which will be called when user clicks OK.
>
>It depends of what Gary needs, sometimes modal form is mandatory. Nothing should happen during the execution of that form.

I managed to have a top level form behave modal... before anything else was visible, i.e. it was the only form in the app. So, no _screen, no other forms, nothing, it was the only form and the user couldn't do anything else because there wasn't anything else :). It was a password form, simple enough. And it wouldn't .release() until the user had entered a valid password (and it would then launch the app's main form) or canceled (then it would Clear Events and quit).

If there's another way to have a top level form behave as modal, I'd like to know.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform