AdvancedHMI Software

General Category => Support Questions => Topic started by: frank222 on April 13, 2015, 12:25:14 PM

Title: MessageListByBit1 delete Items
Post by: frank222 on April 13, 2015, 12:25:14 PM
How could delete items alarms than MessageListByBit1 when use MessageListByBit1.items.clear(), when an alarm appears below does not appear in MessageListByBit1

Thanks for help
Title: Re: MessageListByBit1 delete Items
Post by: Archie on April 13, 2015, 10:15:16 PM
I'm not completely sure what you want to do.
Title: Re: MessageListByBit1 delete Items
Post by: Archie on April 20, 2015, 05:08:43 PM
Not sure if this is what you wanted, but version 3.98g will have an additional property in the MessageByBit and MessageByList. This property is named RemoveDuplicateMessages. Each time a new message is added, it will look through the list to see if that message already exists, if it does, it will remove it from the list before putting this message at the end of the list.