Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why Different behavior for closing bizobj Views
Message
 
To
31/01/2002 11:07:07
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00613430
Message ID:
00615114
Views:
20
Gary,

>I have a view based on another view that is working fine in a business object driving a grid. When the form is closed all views are closed including the base view that is not one of the view in the dataenvironment (the top level one is), however, the same bizobj on another form and when the form closes it does not close the base view. I have checked all properties between the implementations and don't see any difference to account for the different behavior.
>Does anyone know (1) how the framework is closing the base view when it is not formally a part of the data environment and why it is not closing on one of the forms?

I'm not sure why you're experiencing this behavior, but whether a view is closed or not depends on the setting of the DataEnvironment's AutoCloseTables property. I recommend placing a breakpoint in your data environment's Destroy() method and trace through the code in its CloseTables() method to see what's going on.

Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Previous
Reply
Map
View

Click here to load this message in the networking platform