@Mikael G Hey all.
Excuse me for my bad English (Swedish). I have big problems with "flickering" when I compile my code to windows (develops on mac). I think about to switch back to Visual Studio because my program gets really bad. It's not just canvas, it is when I press Tab between text boxes, Labels blinks, Listbox flashes when I double-click them... Will there be any correction on that? Doing a "work around" to reduce problems is not a solution good solution.
Your error is to develop on Mac. Mac does not show you any flicker, so you don't have any chance to optimize properly for Windows.
Mac tolerates stacking of controls, which is a major reason for flicker on Windows.
To develop properly running Windows programs, you need to do that on a PC, under Windows. Or at least accept the fact that a project started on Mac cannot simply be compiled unchanged on Windows without optimization. It is not a matter of workaround, it is a matter of understanding the particular requirements of the Windows environment.
I have a program that exists in both Mac and Windows. A while ago, I decided to drop the common project, and have different source for Mac and Windows. The Windows part does not flicker at all, but the layout is sensibly different from the Mac part.
Now indeed, you can go back to VB. It will be a painstaking task to move your program to it though.
Or you can try to learn how to properly use Xojo under Windows.