How do I change the background color on a button to red
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
How do I change the background color on a button to red
How do I change the background color on a buttom to red instead of white?
-
- VIP Livecode Opensource Backer
- Posts: 977
- Joined: Sat Apr 08, 2006 7:47 am
- Contact:
You can use the Inspector palette - panel Colors & Patterns - second row of buttons. If you want to do it by script, simply use:
Revolution has a number of built-in color names, and ypou can also use RGB triplets like "255,0,0" for red.
HTH,
Jan Schenkel.
Code: Select all
set the backgroundColor of button "MyShinyButton" to red
HTH,
Jan Schenkel.
Quartam Reports & PDF Library for LiveCode
www.quartam.com
www.quartam.com