I haven't found the cause of this yet, but I do have possibly a better solution.
Attached is a patch that will add the property IniFileName to the MessageListByItem
https://www.advancedhmi.com/downloads/MfgControl.AdvancedHMI.ControlsPatch40.zip- Download the file from the link
- Open your project in VS
- In Solution Explorer, expand down the AdvancedHMIControls Project
- Right click the \support folder and select Add->Existing Item
- Browse to and select the file that was downloaded
- In VS go to Window-> Close All Tabs
- Rebuild the Solution
- In one of the MessageListByItem, set the IniFileName property to .\Messages.txt
To add an IniFile:
- In Solution Explorer, Right Click the AdvancedHMI project and select Add-New Item
- Select Text File and name it Messages.txt
- Open the file
- Insert text in this format:
40001,Motor Overloaded,Yellow,Black
40002,UnderLayer Side Saftey Door Open -OR- Material Choke in Screw Feed,Red,White
40003,UL Carrier Alarm
40004,FM Carrier Alarm
- In Solution Explorer, click once on the Messages.txt to select it
- In Properties, set Copy To Output to Copy If Newer
-