Real Software Forums

The forum for Real Studio and other Real Software products.
[ REAL Software Website | Board Index ]
It is currently Sat Oct 20, 2018 10:19 pm
xojo

All times are UTC - 5 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Changing from using 'graphics' problems
PostPosted: Thu Feb 28, 2013 9:11 pm 
Offline

Joined: Thu Feb 21, 2013 3:59 pm
Posts: 7
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
 Profile  
Reply with quote  
 Post subject: Re: Changing from using 'graphics' problems
PostPosted: Thu Feb 28, 2013 11:23 pm 
Offline
Real Software Engineer

Joined: Sat Dec 24, 2005 8:18 pm
Posts: 7858
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)


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 5 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group