How to uncheck all buttons in button matrix or Tabview

Hi @pete-pjb,

Thank’s for your answer.

Yes, I understand that’s the states are represented by ‘bits’, but I don’t understand how to have in my case the state of the button (checked/unchecked) ,

I changed my code to the part you suggested, and I tried it without the one checked mode, only Checkable.
The problem is: I never get the checked state, only pressed and focused.

first click (button home state is pressed)

Second click (to uncheck button home), i get 2 states :

  • LV_STATE_FOCUSED
  • LV_STATE_PRESSED

So i can’t get the state of my button to use the answer from @kisvegabor,

excuse my bad english , I hope you understand my issue,

Thank you,

Zebra