> One situation that can cause that behaviour is conditional code > somewhere that can call for a refresh while the paint event is > executing. But yes, this is very hard to nail down. I would use a > textfile logger that you open in app open and write logging into to > within the paint event. > >
I traced the problem. I have a popup menu and bevel button that change some things on a the window. There is also a popup menu to select different things to display on the canvas. when I do bevNext.visible = false or whatever, it fires the CHANGE event for the button and that re-paints the canvas. And somehow this makes an infinite loop. if comment out those visibility lines then it works normally again. _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives of this list here: <http://support.realsoftware.com/listarchives/lists.html>
