I've done a lot of work in this area, and you're best bet for platform-consistency and reliable drawing is to just skip the canvases and draw straight from the window.graphics level or just use one canvas and manage the whole custom hierarchy on your own.
Mail me off the list if you want an example of this. - Ryan Dary tbuchler wrote: > Has someone written an article explaining the uses and interactions of > Refresh, Invalidate, Paint and any other related methods -- including > refreshing rectangles vs entire elements? I'm possibly having a > conceptual problem about how this stuff works, and how to implement this > stuff properly. > > I'm working on a project with dozens of custom controls built from > canvas with a lot of transparent and translucent effects. I'm able to > get the effects I want, but the whole interface ripples and flickers > when certain controls are updated. > > To get the transparent effect (and as described on this NUG several > weeks ago, and the way I understand this) to alter the appearance of my > transparent control (for example, to achieve a depressed button look or > a rollover glow), I'm do a "me.refresh false" to re-establish the > background, then draw the new graphic. > > If I've got 20 of these buttons on top of a large canvas, if I do > me.refresh in one button, does that redraw the entire graphic below, > triggering paint on all 20 buttons? > > -Tom _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html>
