Author Topic: MessageListByBit1 delete Items  (Read 1321 times)

frank222

  • Newbie
  • *
  • Posts: 12
    • View Profile
MessageListByBit1 delete Items
« 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

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5317
    • View Profile
    • AdvancedHMI
Re: MessageListByBit1 delete Items
« Reply #1 on: April 13, 2015, 10:15:16 PM »
I'm not completely sure what you want to do.

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5317
    • View Profile
    • AdvancedHMI
Re: MessageListByBit1 delete Items
« Reply #2 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.