Real Software Forums

The forum for Real Studio and other Real Software products.
[ REAL Software Website | Board Index ]
It is currently Sun Sep 22, 2019 9:32 pm
xojo

All times are UTC - 5 hours




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Snow Leopard Redraw Fix
PostPosted: Fri Feb 05, 2010 10:49 am 
Offline
User avatar

Joined: Mon Oct 24, 2005 12:47 pm
Posts: 499
Location: Johnson City, TN
I have a posting on my blog (http://www.cypherstech.com/2010/01/realbasic-and-snow-leopard-redraw-what/) which addresses an issue where controls on windows with a backcolor do not redraw properly on Snow Leopard.

The short fix is this bit of code in the Window.Paint event.

#if TargetMacOS then
If Me.HasBackColor Then
g.ForeColor = me.BackColor
g.FillRect( 0, 0, g.Width, g.Height )
End If
#endif

_________________
CyphersTECH Consulting - Real Studio Development Consulting.
GraffitiSuite.com - Custom Classes for Real Studio


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

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