In Window1, I have a Canvas control that I'm using to build up an image of a pair of dice. I start out with the Backdrop set to a bitmap image of blank faces. Window1 has a Roll Event that generates the dice pair. Within the Roll Event, I call a Method that adds in the dice dots in the appropriate places. All this works great. However, now I've added a Rectangle Shape around the Canvas (by the way, there are 28 of each of these, but I'll just describe the behavior of 1). I've put the Shape behind the Canvas, so that the dice images are on top, since I want the Rectangle Shape to simply frame the dice pair. No problem yet. Now, I'd like to change the BorderColor of the Shape, but when I do so, the dots so carefully drawn on the die faces disappear.
What's happening here? Am I supposed to be 'repainting' the Canvas after changing the Shape color? So far, I haven't put any code in any Paint events. Frankly, I'm confused about just when the Paint Event fires in this situation and just what I would do with it. Any clues will be much appreciated. Paul Mathews still using RB555 on WinXP (but the ultimate target is Linux on Winsystems EPX SBC) _______________________________________________ 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>
