Hey all,
I am very new to LiveCode and the MobGui.
I have built an app, however, the buttons seem lacking.
Is there a way to make the button change colors when pushed, similar to how other apps work in the IOS?
Ex. Change from a light blue to a dark blue when pushed.
(livecode 4.6.4 MobGui .27)
Ideas?
- Jay
Darker shade on button push?
Moderators: heatherlaine, kevinmiller, robinmiller, malte, splash21
-
- VIP Livecode Opensource Backer
- Posts: 7239
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: Darker shade on button push?
In the button's property inspector, turn on the autohilite property. This is usually the default setting but you may have accidentally turned it off. Some types of buttons hilite differently, for example, radio and checkboxes use "hilite" to toggle their active status. What type of button are you using?
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
Re: Darker shade on button push?
If you are using MobGUI buttons you can set the touch colour in the MobGUI control palette. Just select the button and you'll see the properties you can change.
Gerry
Gerry
14" MacBook Pro
Former LiveCode developer.
Now recovering.
Former LiveCode developer.
Now recovering.
Re: Darker shade on button push?
Thank you both.
Re: Darker shade on button push?
Gerry,Jellicle wrote:If you are using MobGUI buttons you can set the touch colour in the MobGUI control palette. Just select the button and you'll see the properties you can change.
Gerry
Thanks for the info.
I see in my MobGui pane that the colors are set differently.
However, when I use the sim, or load it on a actual device, the colors never change.
Using the Property Inspector, the "Hilite one radio button at a time" is checked off.
Thoughts?