TTMSFNCTileList.Items not recognized by TMSFNCPersistence.FromJSON

Hello,

I would like to use TMS object serialization to JSON. However, when working with a TTMSFNCTileList, calling the AWidget.FromJSON function results in an error indicating that the object TTMSFNCTileListItem was not found (Vcl.TMSFNCPersistence).
How can I resolve this issue?

Thank you in advance for your help.

Menant Didier

Hi,

We have investigated this here and seen the missing register in our sources. We'll fix this here.
What you can do as a workaround, call RegisterClass(TTMSFNCTileListItem) before persisting to JSON.

Hello, thank you for your reply. I will do so for the duration of an update.

Have a nice day.

Menant Didier.

1 Like