[Gambas-user] "Frozen" collections - quick answers only needed

adamnt42 at ...626... adamnt42 at ...626...
Thu Jul 16 00:17:59 CEST 2015


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

-- 
B Bruen <adamnt42 at ...3379... (sort of)>




More information about the User mailing list