ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Encapsulating Communication Between Objects (https://www.excelbanter.com/excel-programming/395126-encapsulating-communication-between-objects.html)

Bart[_6_]

Encapsulating Communication Between Objects
 
Hello,

A TabStrip for example contains a collection called Tabs, which in
turn holds Tab Objects. Similar to this structure I'm trying to build
an object Parties, which has to act like a collection (similar to Tabs
Object) and an object Party (similar to the Tab Object). Now there's
some interaction needed between these two objects which I don't want
to be seen by the outer world: I want to encapsulate this.
I want a Party Object to be able to change a certain Private (Module)
Variable of the Parties object, which I can't do by using the set of
Properties which I provide the outer world.
Is there a way to do this?

Regards,

Bart



All times are GMT +1. The time now is 03:49 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com