Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Private Session Parent - Default Session Child Help Need
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00304650
Message ID:
00304804
Views:
32
>How are you doing that. FormManager.AddMe(this) code in the form's Load event? I'm currently doing it the other way and need to change so I can take advantage of the default datasession.

Roi,

You don't need to change anything about your form manager to make use of the data session behavior.

What you do need to do is to catagorize your design specifications.

My specs for the form manager say that it is responsible for creating and managing independent forms. Dependent forms are created and managed by the object that they are dependent on, in the case of a child form it is created directly by the form that needs it and managed by that form.

For example when it comes to application shutdown, the Form manager will attempt to close all of the forms it created. Any form that has created a child form will attempt to close that child form before it allows itself to be closed.

Every form (based in the base form class) keeps a reference to its creator and also a form that launches a child form keeps a reference to its child form.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform