New topic in General: my print preview routine with canvas is slooow
CenoByte - Sun Mar 30, 2008 11:33 am <http://forums.realsoftware.com/viewtopic.php?t=21531> Hi there, I have a problem with a canvas. In a program of mine, a routine fills a canvas with a preview of your work just before you print it on paper. This routine takes about 15 to 20 seconds to complete (rather complex stuff to print), so the window with the canvas is very sluggish when you move/resize it or when you scroll the canvas, since it has to rerun the printroutine on every paint event. How can I solve that? I thought I print the stuff I want to preview to some graphics variable and in the paint event of the canvas just put that in the canvas.graphics. That does not seem to work _________________ Mario van Ginneken, using REALBasic 2007R3 on MacOSX Tiger -- Over 900 classes with 18000 functions in one REALbasic plug-in. The Monkeybread Software Realbasic Plugin v8.1. <http://www.monkeybreadsoftware.de/realbasic/plugins.shtml> [email protected]
