[Gambas-user] Collection as property?
Jussi Lahtinen
jussi.lahtinen at gmail.com
Sun Nov 24 20:16:21 CET 2019
No, that is the easy part. I mean the _write. How to deal with .remove,
.add, etc?
Jussi
On Sun, Nov 24, 2019 at 12:53 PM Tobias Boege <taboege at gmail.com> wrote:
> On Sun, 24 Nov 2019, Jussi Lahtinen wrote:
> > Or alternatively how to keep in check if public collection is used with
> > .Remove() ?
> >
>
> You mean
>
> Property Coll As Collection Use $cColl
>
> Private Sub Coll_Read() As Collection
> Return $cColl.Copy()
> End
>
> ?
>
> Regards,
> Tobi
>
> --
> "There's an old saying: Don't change anything... ever!" -- Mr. Monk
>
> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]----
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20191124/31af9ea5/attachment.html>
More information about the User
mailing list