When I set form1.forelayer = true, then draw background on form1, and drawimage on forelayer, doesn't matter I use form1.refresh or drawer.refresh2, the screen is flashing.
However if I don't set forelayer and draw both background and image on form1 (background layer), I have to use form1.refresh (drawer.refresh2 does not work?) but then no flahsing.
I guess it is due to forelayer and background layer are refreshed seperatly so I see background refresh covers forelayer (forelayer off), then forelayer refresh (forelayer on).
Hope this performancce (flashing) issue can be solved in next version. Then I can use forelayer to draw smooth animation.
Regards,