New topic: Changing from using 'graphics' problems
<http://forums.realsoftware.com/viewtopic.php?t=47115> Page 1 of 1 [ 2 posts ] Previous topic | Next topic Author Message KWL Post subject: Changing from using 'graphics' problemsPosted: Thu Feb 28, 2013 9:11 pm Joined: Thu Feb 21, 2013 3:59 pm Posts: 3 I have code such as Win1.show // Show window, page is a canvas, g dim as graphics g = Win1.page.graphics g.ClearRect 0,0,620,800 Graphics is deprecated in line 2. How does one repair this Top npalardy Post subject: Re: Changing from using 'graphics' problemsPosted: Thu Feb 28, 2013 11:23 pm Real Software Engineer Joined: Sat Dec 24, 2005 8:18 pm Posts: 7744 Location: Canada, Alberta, Near Red Deer KWL wrote:I have code such as Win1.show // Show window, page is a canvas, g dim as graphics g = Win1.page.graphics g.ClearRect 0,0,620,800 Graphics is deprecated in line 2. How does one repair this Put the clear rect etc in the Paint event of Win1 _________________ Norman Palardy (Real Software) ââââââââââââââââââââââââââââââââââââââââââââââââââ Real Studio Developer Conference - April 23 - 26, 2013 http://www.realsoftware.com/community/realworld.php 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]
