Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dumb question
Message
De
13/08/2008 14:56:30
Dragan Nedeljkovich
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:
01338658
Vues:
14
>>Thanks for the suggestions everyone. None of it helped<vbg>, but thanks!
>>
>>If the called form is modal, modeless, in screen, top level, etc., it still works the same: The called form displays, let's me enter stuff and press Save. Save saves and the form is released. All fine except that the calling code that I want to get some info from the called form has cheerfully moved on with it's life and can no longer make use of the called form info.
>>
>>I know I did this a zillion times in FP 1.0 and later. Time to find and dust off the old books I suppose.
>>
>>Thanks guys,
>>
>>Gary
>
>Gary,
>Call Modal from FROM modeless one, and DO NOT make that modal form TOP LEVEL.

Or... if there's a top level form which should behave like modal (i.e. pass values to other places when closed), then the code responsible for the modal behavior (passing them pesky values) should be in the form, not in the caller.

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.

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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform