UI Table- ignore controller unless controller #4
-
Hey guys,
I have a UI table that I use to adjust the values of incoming CC4 messages, and it all works great. However, the vertical line showing the controller's incoming value reacts to any CC#, not just CC4.I tried setting it onController if message is not CC4 to ignore events, but it keeps doing the same.
How do I get it not to respond to any CC other than CC4?
Thanks,
-
@gorangrooves Snippet
-
@d-healey Here it is.
HiseSnippet 878.3ocsV0sSaCCE1oTOsVFRCocwtLhqZQLVJielDBMFkxV0Vgp0Nztaxj31XQpcjiKrJDOF698NrWr8FrcrcZSXDgfJQt.74O6Oe747cZWovmljHjHmJ8mDSQNOC2aBWE1Ljv3n1GpUnHmEQcUzDE5fIwjjDZ.xwYgOn8voRYj46Ou6.RDg6SyTgPmJX9zOyFwTYZ6t+mXQQGQBn8Yix48l621WvaJhDiAzr.1CES7OmLjdLQ6VILx4IsBXJgrmh.fA4T9.QvjdghK4V+Okkv.jpEZf5AajU8Qhn.Mh0qQMCYQAcmdqSPvtzMKGrfMG7BbGV.al9rbwyMFbyhHe9vozcAuFyI7bxAuxV3sLtmujEqxrnw1h31bEUNf.OA4gk0WTovR3lBvCtZ8QjyoGIAgYQTaaOu0b2xyq9tUqBOCIJ2KHR2SIxORTI53jhnHpruoTXO2o6zPppoXTrfCB0VoX2Wo9tCFy8ULA2UvOVnnmvqUu5UUqT85pt+uoACJzV1dZMGI7IQtIvenR.OM1XG2W2vya2pUbgO1fZcfLCT7XQ3zXOd7nyz6f6d64tYcquWY+m9aZLI4i4TRzXZsNDU35RwXdPszCcU2ZEee0GoYQZjEADqo50WEvb85PRuhADVnbMb6qXWBQjHfsLVxfD7iMHtYJW2dJuqGiZbS5bMnTA1nYNB0o2rQXw6WifuslJmiBdaNScRLMUNqUQayVIM0pGZVATdUY217ZMWsBbKS0s6DQo075dxT2gapxzQtTZGoIiiX.DeIt32EjIWkmiLfnHF5MzWaendc59CGEb7wTohoShNGRu.HSsL.UvGRSNWIhM9l1+A7iOXz7iLjze+IyD90Y6eIKPEhbvN+zAgBorggJszuMT32hRBHFEAiiHpaxVpGQjZ.pbtAsjl5gmvTSxOB4APg5UHEZihd3tmvcYbWlxOrX7Vp.7BuTO13McfzR3VCFP8UYfsL9nuMuSed.P4KhwJFeHP7HYPsBFHP6Aym8o.R3bZThtlnjt4vJ6ok0YldTdfQ3uvWpwFZYmTiMlZDMh3KEe22VYpG48TiF.Sbyj+J3NZY2FS6cvXu08PifIwe22WmJdEf8hiYi4Hl2LGwr4bDyVyQLaOGwrybDyauyXz+Hn2OVIFYaS.EcaYntbbZw07JlJRz+.zNcaiC
Thanks, Dave.
-
It works fine here.
I think that whenever you call
VarHatsControllerTable.getTableValue()
it will show the line, so make sure you only call that function within the if statement. -
@d-healey It is already within the IF statement. That's what is puzzling me. I tried using an ELSE statement to ignore other CC messages, but it still responds.
@Christoph-Hart Are we missing something obvious here? -
@gorangrooves In your snippet you have a
Console.print
outside of the if statement. -
@d-healey Got you! I didn't think that would interfere. Thank you! That fixed it.