View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Bart[_6_] Bart[_6_] is offline
external usenet poster
 
Posts: 37
Default 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