Convert System.Classes.TCollection to DSharp.Collections.IList
Hi,
is there a possibility to convert a System.Classes.TCollection to a DSharp.Collections.IList, which I need for TTreeViewPresenter.View.ItemsSource.
I have a model (from a datasnap-server) with a System.Classes.TCollection<T>.
Thanks
Andreas
Comments (5)
-
repo owner -
Account Deleted How are your plans? Should all DSharp-functionality goes to Spring4D? How is your rough timeframe for this?
-
repo owner First step will be to drop the DSharp collection and multicast event types as they are contained in Spring4D but incompatible to each other.
That will mean DSharp will be dependant on the Spring4D base package which contains these types.
Migration will be simple search and replace (like replacing DSharp.Collections with Spring.Collections in the uses and such)
This will be done in first quarter of this year.
-
Account Deleted Would you accept a patches from someone else? (Seems like a relatively easy patch and feeling like getting involved.)
-
repo owner Contributions are always welcome but I already added TCollectionList<T> to Spring4D.
- Log in to comment
You will have to write a wrapper for your TCollection. As we are moving to Spring4D collections and abandon the DSharp ones we might add such class to Spring4D.