I have a row of TextButton buttons numbered incrementally. When a certain condition is meant, I want to disable several buttons from being focused/clicked. I've successfully disabled other controls in the past but am stuck here.
As expected, the code prints false 4 times. If I trace the buttons themselves, the correct control is listed. However, the buttons continue to accept focus and selection. I have tied this code in both the updateView and focusView functions without success. What am I doing wrong?