[Gambas-user] Collection as property?

Tobias Boege taboege at gmail.com
Sun Nov 24 11:52:28 CET 2019


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


More information about the User mailing list