Real Software Forums

The forum for Real Studio and other Real Software products.
[ REAL Software Website | Board Index ]
It is currently Thu Aug 16, 2018 7:26 am
xojo

All times are UTC - 5 hours




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: BevelButton BackColor and TextColor not working
PostPosted: Tue Apr 02, 2013 10:23 am 
Offline
User avatar

Joined: Fri Oct 10, 2008 7:14 pm
Posts: 94
I running RS 2012 2.1 on OS X 10.8.2 and building for same using Cocoa.

I have a bevel button on a form and the BackColor and TextColor have absolutely no effect and the HasBackcolor box is checked.

Are these properties just there for future development or do I have to add some additional code.

Is there any other way to vary the color of either a pushbutton or a bevel button?

thanks for all you help on this and previous issues as I get up to speed on RS.

b


Top
 Profile  
Reply with quote  
 Post subject: Re: BevelButton BackColor and TextColor not working
PostPosted: Tue Apr 02, 2013 12:37 pm 
Offline

Joined: Fri Nov 16, 2012 8:10 pm
Posts: 34
BevelButton BackColor is only for Windows and Linux, does not work on OSX.

use a PushButton with a height of 25 and set button style to textured

_________________
OSX 10.8.3
ListBox Example Project OSX
TextEditor Example Project OSX
Homepage


Top
 Profile  
Reply with quote  
 Post subject: Re: BevelButton BackColor and TextColor not working
PostPosted: Tue Apr 02, 2013 12:51 pm 
Offline

Joined: Mon Aug 14, 2006 9:33 pm
Posts: 1774
If you want custom designed buttons, create your own canvas-based button class which you can re-use in all of your projects. Examples available from several developers here and on the NUG

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


Top
 Profile  
Reply with quote  
 Post subject: Re: BevelButton BackColor and TextColor not working
PostPosted: Tue Apr 02, 2013 1:30 pm 
Offline
User avatar

Joined: Fri Oct 10, 2008 7:14 pm
Posts: 94
Thanks guys,

If RS Doc folks are here it would be nice for the Documentation to say it doesn't work on OS X...

b


Top
 Profile  
Reply with quote  
 Post subject: Re: BevelButton BackColor and TextColor not working
PostPosted: Tue Apr 02, 2013 2:35 pm 
Offline

Joined: Fri Dec 01, 2006 3:09 pm
Posts: 650
Location: Tennessee, USA
Unless someone changed it since your last post, both BackColor and TextColor say Windows and Linux only when I just looked at the in the online LR


Top
 Profile  
Reply with quote  
 Post subject: Re: BevelButton BackColor and TextColor not working
PostPosted: Tue Apr 02, 2013 2:43 pm 
Offline
User avatar

Joined: Fri Oct 10, 2008 7:14 pm
Posts: 94
Sorry, you are absolutely right about it saying so in the LR. I just read the first part and thought I knew how backcolor worked. Should have done more homework.

Sorry again, :shock:

b


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