On Thu, 16 Jul 2015 00:22:29 +0200
Benoît Minisini <gam...@users.sourceforge.net> wrote:

> Le 16/07/2015 00:17, adamn...@gmail.com a écrit :
> > Hi all,
> >
> > I have a class that exposes a collection of child objects as a
> > property. How can I make it that the only object that can add or
> > delete child items to/from the collection is that class?  In other
> > words, no client class is allowed to Add a new item, or Remove or
> > nullify any existing item.
> >
> > tia bruce
> >
> 
> You have to create your own collection class that behaves like you want.
> 
> -- 
> Benoît Minisini
> 

Thanks for the quick reply Benoît.  That was the answer I was afraid of :-(

b

-- 
B Bruen <adamn...@gnail.com (sort of)>

------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to