Author Topic: Message Display By Bit Not changeing Backround Color at Runtime/Debug  (Read 1203 times)

rbeavers

  • Newbie
  • *
  • Posts: 19
    • View Profile
Hello,
   I am using AHMI v.399p. Using MessageDisplayByBit. When I change the Background color for each message the colors will change in design mode. When I enter debug/Run mode the Background color does not change with the message...

   Any Ideas?


Thanks,
-Rob

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5262
    • View Profile
    • AdvancedHMI
Re: Message Display By Bit Not changeing Backround Color at Runtime/Debug
« Reply #1 on: January 24, 2017, 02:05:47 PM »
I posted a patch that addresses some issues with the colors of the MessageDisplays. Try this patch to see if it corrects the problem you see:

- Download and extract Controls Patch 1 for 3.99t
https://sourceforge.net/projects/advancedhmi/files/advancedhmi/3.5/Patches/

- Open your project in Visual Studio
- In Solution Explorer, expand down the AdvancedHMIControls project
- Right click the \dupport folder
- Select Add Existing Item
- Browse to and the downloaded patch file and replace the existing
- Rebuild the solution

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5262
    • View Profile
    • AdvancedHMI
Re: Message Display By Bit Not changeing Backround Color at Runtime/Debug
« Reply #2 on: January 24, 2017, 03:10:47 PM »
Make that Patch 2

rbeavers

  • Newbie
  • *
  • Posts: 19
    • View Profile
Re: Message Display By Bit Not changeing Backround Color at Runtime/Debug
« Reply #3 on: January 24, 2017, 04:28:20 PM »
Does this 3.99t patch work for 3.99P?

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5262
    • View Profile
    • AdvancedHMI
Re: Message Display By Bit Not changeing Backround Color at Runtime/Debug
« Reply #4 on: January 24, 2017, 05:04:18 PM »
Probably not... you would need to upgrade your project

rbeavers

  • Newbie
  • *
  • Posts: 19
    • View Profile
Re: Message Display By Bit Not changeing Backround Color at Runtime/Debug
« Reply #5 on: January 24, 2017, 05:43:40 PM »
Oh boy! I have many AHMI controls...

Would this mean I would have to re-write each control that has been updated between 3.99p & 3.99t?

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5262
    • View Profile
    • AdvancedHMI
Re: Message Display By Bit Not changeing Backround Color at Runtime/Debug
« Reply #6 on: January 24, 2017, 05:55:31 PM »
Your controls should not be affected. Just add them to the new version the same way as you add your forms to the new version.