1
Support Questions / Re: MessageListByBit - Remove inactive messages
« on: November 27, 2017, 02:03:30 PM »
MessageListByBit1.Items.Clear()
Place inside of another function. I have it inside a button that resets a fault on my PLC. You could run it through a timer or a plc value change, whatever you like. As long as the input value no longer remains and there is not an active message, it clears it. The whole section is as follows:
Private Sub BasicButton5_Click(sender As Object, e As EventArgs) Handles BasicButton5.Click
MessageListByBit2.Items.Clear()
End Sub
Place inside of another function. I have it inside a button that resets a fault on my PLC. You could run it through a timer or a plc value change, whatever you like. As long as the input value no longer remains and there is not an active message, it clears it. The whole section is as follows:
Private Sub BasicButton5_Click(sender As Object, e As EventArgs) Handles BasicButton5.Click
MessageListByBit2.Items.Clear()
End Sub