Real Software Forums

The forum for Real Studio and other Real Software products.
[ REAL Software Website | Board Index ]
It is currently Thu Nov 21, 2019 4:09 pm
xojo

All times are UTC - 5 hours




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Readonly TextFields backcolor
PostPosted: Sun Sep 18, 2011 5:07 pm 
Offline

Joined: Fri Sep 30, 2005 10:49 pm
Posts: 504
Hello,

A Readonly TextField on Mac will accept Text and a change of BackColor via code, but on windows I can only achieve Text via code not Backcolor.

How can I fix that?

Thanks.

Lennox


Top
 Profile  
Reply with quote  
 Post subject: Re: Readonly TextFields backcolor
PostPosted: Mon Sep 19, 2011 12:01 pm 
Offline

Joined: Mon Aug 14, 2006 9:33 pm
Posts: 1774
A) As a workaround, turn off the read only property and it works as expected.
B) File a bug report

_________________
Roger Clary
Class One Software
Educational Software for Lifelong Learning
http://www.classonesoftware.com


Top
 Profile  
Reply with quote  
 Post subject: Re: Readonly TextFields backcolor
PostPosted: Mon Sep 19, 2011 12:46 pm 
Offline

Joined: Sat Oct 01, 2005 5:19 pm
Posts: 3216
Why is that a bug on Windows? I would guess it to be a bug if you could change the background colour. Or if you couldn't do it on a TextArea, but it's a TextField


Top
 Profile  
Reply with quote  
 Post subject: Re: Readonly TextFields backcolor
PostPosted: Mon Sep 19, 2011 1:26 pm 
Offline

Joined: Mon Aug 14, 2006 9:33 pm
Posts: 1774
I'm certainly not an expert on Windows, but I found it strange that changing the backcolor worked with a textfield when the read-only property was false but didn't work if that property was true. Maybe that's documented behavior on Windows, but I'm not aware of it being so.

_________________
Roger Clary
Class One Software
Educational Software for Lifelong Learning
http://www.classonesoftware.com


Top
 Profile  
Reply with quote  
 Post subject: Re: Readonly TextFields backcolor
PostPosted: Mon Sep 19, 2011 5:52 pm 
Offline

Joined: Sat Oct 01, 2005 5:19 pm
Posts: 3216
There's an Aero Colour for that


Top
 Profile  
Reply with quote  
 Post subject: Re: Readonly TextFields backcolor
PostPosted: Tue Sep 20, 2011 7:45 am 
Offline

Joined: Fri Sep 30, 2005 10:49 pm
Posts: 504
Thanks.
Lennox


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 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