Author Topic: Changing Background Colors of Buttons  (Read 1614 times)

Chassmain

  • Newbie
  • *
  • Posts: 1
    • View Profile
Changing Background Colors of Buttons
« on: September 06, 2012, 07:13:19 am »
I'm starting to work on a Metro inspired design shown in the image attached.

What I'd like to do is have a home screen with live updating tiles to reflect the status of the various buttons.  I.e., if any lights are on I want the lighting button background to be yellow (gray otherwise) or if the security system is in an alarm state that button background should be red. 

What's the easiest way to accomplish this?

As an example, for the lighting button, I'd like to poll the status of all lights in the house and if a single one is on make that background yellow.

Thanks so much for your help!

iostream212

  • Sr. Member
  • ****
  • Posts: 459
    • View Profile
Re: Changing Background Colors of Buttons
« Reply #1 on: September 06, 2012, 10:11:20 am »
You need to bind the control to the device. For ex: Change the security system button to a boolean control. Then set the binding of the boolean control to the arm status of alarm system. You can specify different colors/images for true/ false. You could also use a image list and bind all arm up states to a specific image/color.
I always wanted to be somebody. In retrospect, I think I should have been more specific.

Beauraraffome

  • Sr. Member
  • ****
  • Posts: 276
    • View Profile
1990s Porn # 0782
« Reply #2 on: June 22, 2017, 09:52:48 pm »
Beyce Mitcheal
 
Original, digitally remastered porn of the 80s! Get inside and you'll see the stars of the past getting off like in the golden years. Classy models, plenty of explicit @#&%!, and a unique feel!
 
Female porn stars of the 90s
 
eva orlowsky vintage italian porn films
 
1950 Porn
 
free vintage sex pics in hot vintage lesbians trio
 
Classic Porn Movies
 
xxx vintage pics hairy seventies girlies get @#&%! inside their tight slit
 
Classic Porn
 
We'll open the mysteries of the past for you. And we mean nothing but mouth watering retro vintage porn from which the today's adult industry originated. Natural tits and shaggy beavers, normal size dicks and true orgasms you'll love this world of sincerity and wild passion! The vintage girls knew they looked hot and irresistible just the way they were no implanted breasts and asses, no artificially plump lips or false nails, and that's probably the reason they devoted all energies to sucking cocks and riding them. And even when standing in doggy they showed the best of themselves!
 
Dashile Miguele