Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Methodology question
Message
De
10/01/2001 14:29:47
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00461641
Message ID:
00461826
Vues:
12
Nadya:

If both forms use the same datasession and they require different
(whatever) settings, chaging the settings is not likely to be a good
solution unless the second form is modal.

If the second form is modal, you can always add a Custom object that saves
the current settings in its Init event and restores them in its Destroy event.
The sitaution is a little more complex if you are instantiation forms from
classes because you may want to restore the settings as soon as the second
form's Hide method is called.

If both forms are modeless, you have to consider what will happen if the user
switches back and forth between the forms and perform actions in no logical (to
you) order...

A possible solution may be found by examining whether it is the form or some of
its methods that require different settings. If it's only the methods that
require different settings, you can always follow Dragan's advice and
save/restore settings in the methods themselves.

Daniel
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform