Hello,
i was currently trying to implement a simple application follwoing this tutorial:
https://www.freepascal.org/~michael/articles/cdcover/cdcover.pdfi do understand most of it but i have difficulties to implement a Mediator for a Tcollection.i rewrote a TCollection to handle strings and added a Index as Property, for the currently selected item.
Could someone help me understand how i should handle IndexComboboxes with a Mediator. I will rewrite my Collection or exchange it for something else, i just can't get it done.
I Am using the lclMediators unit that was provided in the source code here
https://www.freepascal.org/~michael/articles/#cdcover1 any brief example of usage would be great !
Edit: just wanted to clarify that i did not find any Lazarus example of using Comboboxes with mediators, except for that one provided in sourcecode, which is using objects. I Have simple strings and an index.
thanks