Hello Antonio, thank you for your help. Now all is running with optimal speed and without flickering. Now I will go on with implementing functionality. Attached the working code. Thanks again. Regards, Otto #include "FiveWin.ch" //----------------------------------------------------------------------------// ...