Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Application Object Best Practices 2
Message
From
29/07/2011 22:49:26
 
 
To
29/07/2011 21:55:39
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MySQL
Application:
Desktop
Miscellaneous
Thread ID:
01519662
Message ID:
01519676
Views:
98
This message has been marked as the solution to the initial question of the thread.
Lots of extra code. Every method and property you want to expose needs code in the application object to get to it. Add a method, add code to the application object. All that extra code adds the possibility of extra bugs.

>Christian,
>
>I will try that 'trick'. Thanks.
>
>So, I take it that you also prefer the first option. What are the pitfalls of using the 2nd option, that of providing an 'interface' instead of allowing 'direct access' to the member object?
>
>Dennis
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Reply
Map
View

Click here to load this message in the networking platform