After spending most of the day checking posts I am still a bit confused. Like many I am slow to the party and will need to upgrade a lot of my old sloppy code removing .graphics refs.
I have a project that works fine in MacOS probably because the buffering is handled for me so even some of my inefficient code looks okay. I have optimised some of the unnecessary redraws to help my windows project. I probably read a bit too far back in the posts but when I read the docs on the DoubleBuffer canvas option I understood it to read if I turned it on and turned off Erasebackground it would smooth things out on Windows but my program redraws slowly and then erases the canvas leaving it blank.
I tried to make a canvas class to do the offscreen drawing but failed here also.
So in need of an example to help me get back on track for the correct way to do a detailed offscreen draw and invalidate the canvas to have the paint event draw it smoothly and quickly. I also played around with Michel’s me.backdrop = buffpic approach but somewhere in the program buff pic keeps resetting to nil??
Small eg would probably send me in the right direction.
Thanks