Author Topic: Odd issue - Button colors changing after build  (Read 1461 times)

fohdeesha

  • Newbie
  • *
  • Posts: 46
    • View Profile
Odd issue - Button colors changing after build
« on: September 02, 2015, 01:02:45 AM »
So I've had this issue with two different versions of VS (2013 and 2015 community) and two different versions of AHMI - starting to think I'm doing something wrong.

When using the Basic Button item and changing the colors it works as expected as seen here - http://i.imgur.com/E9YsLwg.png

However after building the solution they all change to the same color as seen here - http://i.imgur.com/TAoqgFa.png

In the actual built program, even after I do another build when the colors have changed, the colors are correct in the actual built program, it seems to only change them in Visual Studio's UI.

Is this a bug in VS or am I doing something wrong?

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: Odd issue - Button colors changing after build
« Reply #1 on: September 02, 2015, 04:23:56 AM »
Are you using absolute colors, such as green or blue, or are you system system colors, such as Control?

Do you have anything in PLCAddressHighlight that may be changing it's color?

fohdeesha

  • Newbie
  • *
  • Posts: 46
    • View Profile
Re: Odd issue - Button colors changing after build
« Reply #2 on: September 02, 2015, 10:04:27 PM »
using absolute values such as 128, 128, 255

Not using highlight color on these buttons, however highlight color does work properly on other buttons. The strange thing is the colors stay correct in the built programs, it's just the visual studio UI where they turn incorrect. And now launching VS again, it doesn't do it anymore, seems intermittent. Thinking it's probably a VS bug