There has been a report of a problem with colors changing in the MessageDisplayByValue. I have tested in every way I know of and it was also tested by another member, but neither of us were able to reproduce. So I would like to see if others would test it to see if they can reproduce the problem. I will give one method of testing, but also try in other ways to see if you can get this problem to occur.
1) Using version 3.99w, add a MessageDisplayByValue to the form
2) Download the attached text file
3) In Solution Explorer right click the AdvancedHMI project and select Add Existing Item
4) Browse to the downloaded file
5) In Solution Explorer click once on the newly added file to select it
6) In the Properties Window change Copy To Output Directory to Copy If Newer
7) On the MainForm, click on the MessageDisplayByValue to select it
8 ) In the Properties Window, set IniFileName to Messages.txt
9) From the Toolbox, add a Timer to the MainForm
10) Set the Interval property to 2000
11) Set the Enabled property to True
12) Below the MainForm in the component tray, double click the timer that was added to the form
13) Add this code:
If MessageDisplayByValue1.Value >= 6 Then
MessageDisplayByValue1.Value = 0
Else
MessageDisplayByValue1.Value += 1
End If
14) Run the application
You should see it rotate through the messages listed in the Messages.txt file and change colors accordingly. When it returns to the "Default Colors" message, the BackColor should be black and the ForeColor white