New topic: 

canvas backdrop disappears

<http://forums.realsoftware.com/viewtopic.php?t=46191>

         Page 1 of 1
   [ 2 posts ]                 Previous topic | Next topic          Author  
Message        obt          Post subject: canvas backdrop disappearsPosted: Mon 
Dec 10, 2012 10:41 am                         
Joined: Tue Jun 13, 2006 10:32 am
Posts: 40                I have an array of 52 canvases with their backdrops 
allocated by a subroutine.  Not all the canvases are on the screen at the same 
time.  When a sheet window is triggered within the program, the canvas with the 
highest index number currently on the screen goes blank.  The picture is 
restored if I click on the blank after closing the sheet window.  What can I do 
about this?   
                             Top                timhare          Post subject: 
Re: canvas backdrop disappearsPosted: Mon Dec 10, 2012 5:41 pm                  
       
Joined: Fri Jan 06, 2006 3:21 pm
Posts: 11874
Location: Portland, OR  USA                Instead of setting the backdrop, set 
a property of the window (or make a canvas subclass and assign it a property) 
and DrawPicture the image into the canvas in the Paint event.   
                             Top             Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 2 posts ]      
-- 
Over 1500 classes with 29000 functions in one REALbasic plug-in collection. 
The Monkeybread Software Realbasic Plugin v9.3. 
http://www.monkeybreadsoftware.de/realbasic/plugins.shtml

[email protected]

Reply via email to