change the background color of button

This is the place to discuss anything relating to MobGUI

Moderators: heatherlaine, kevinmiller, robinmiller, malte, splash21

Post Reply
harald.schlager
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 16
Joined: Mon May 09, 2011 3:01 pm
Location: Austria

change the background color of button

Post by harald.schlager » Wed Feb 08, 2012 10:53 pm

hi all !

I want to change the color of a mobgui button. with the standard controls a am able to change it with
set the background color of button "btn1" to "green"

but it doesn't work for the mobgui buttons.

is that property available.

thank you in advance,
harald

pshuster
Posts: 9
Joined: Thu Apr 19, 2012 11:22 pm

Re: change the background color of button

Post by pshuster » Fri May 11, 2012 12:29 am

the buttons are a group. You need to set th bg colour of the graphic of the group.

eg: set the backgroundColor of graphic "background" of group "Button-1034" to "green"

harald.schlager
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 16
Joined: Mon May 09, 2011 3:01 pm
Location: Austria

Re: change the background color of button

Post by harald.schlager » Thu Aug 09, 2012 10:56 pm

thank you I will try it !

Post Reply

Return to “MobGUI”