@Robin2k
Da du ja XE2 im Einsatz hast, bieten sich dafür natürlich die
LiveBindings an.
Im Anhang hast du ein kleine Projekt mit so eine Mini-Slot-Maschine, wo zum Einen der Code und die Anzeige getrennt ist, und zum Anderen die Verwendung der LiveBindings gezeigt wird.
(Source und exe im Anhang)
(BTW. mein 3000ter Beitrag

)
Kaum macht man's richtig - schon funktioniert's

Zertifikat: Sir Rufo (Fingerprint: ea 0a 4c 14 0d b6 3a a4 c1 c5 b9
dc 90 9d f0 e9 de 13 da 60)