Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Business object as member object
Message
From
31/03/2003 15:18:44
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Title:
Business object as member object
Miscellaneous
Thread ID:
00772133
Message ID:
00772133
Views:
47
I have a business object which is a custom class and which creates a private session object and maintains an object reference to it.

I have a form with a data bound grid.

SCENARIO #1

I Create my business object in the form's load and maintain an reference to it in a form level property.

I call Thisform.business object.OpenDataDoSomethingCloseDataReturnValue() anytime after form's INIT.

Life is good.

SCENARIO #2

My business object is added as a member object at design time.

I call Thisform.business object.OpenDataDoSomethingCloseDataReturnValue() anytime after form's INIT.

Life is bad.

Grid has reconstructed and is now useless.

There is a clue in there somewhere but I am failing to see it.
Can anyone help me with this.
Barry Taft
i am only worried in the short term. once there is a problem, the solution usually presents itself.
Next
Reply
Map
View

Click here to load this message in the networking platform