TTMSFMXTileList update from another thread


I will programming a kitchen monitor using TTMSFMXTileList, every tile will display food request from customers.

Right now I want you to ask for a sample that demostrate the use of a Thread that can "add" tiles on the existing TTMSFMXTileList component every "n" seconds. This thread will be powered by result of a query executed with the RemoteDB component.

Can you please give me a Thread example of this?

Also is possible you can send me samples of how to print lines with personalized styles (maybe HTML) so my Tile looks pretty in order to list the "food" customers request.


Please take a look at the parallel programming library TTask class:

every GUI update needs to be called within a synchronize. the data itself can be read from a thread to keep the application responsive.