New topic: 

WebCanvas Issues

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

         Page 1 of 1
   [ 1 post ]                 Previous topic | Next topic          Author  
Message        neonash7777          Post subject: WebCanvas IssuesPosted: Tue 
Dec 11, 2012 5:49 pm                         
Joined: Mon Nov 29, 2010 7:01 pm
Posts: 335                I ported over some code from a regular Canvas to a 
WebCanvas. I had to make some minor changes to get everything to compile.

The problem is that the paint event isn't working right for the webCanvas.
In the paint event I simply do:

 if image <> nil then
  g.DrawPicture(image,0,0,g.Width,g.Height)
end


In the debugger I checked to make sure the image exists and is rendered right 
(it is) but the image is never displayed in the canvas. It also seems that the 
Paint event keeps getting called repeatedly.

Am I missing something or is there an issue with the WebCanvas?   
                             Top             Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 1 post ]      
-- 
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