Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Methodology question
Message
From
10/01/2001 14:29:47
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00461641
Message ID:
00461826
Views:
14
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform