Dear Eric,
thanks for your answer, and yes it is pretty much the same, the differences in my case,
are: I use toggle buttons and I do not use a grid.
Thanks you for providing me with this nice working example, I played with it to illustrate the
bug because it happens with your code too, check the new 'test.c' file attached !
I simply added a third expander and a third set of buttons, I invite you to compile the code attached,
and play with it you will see, that at same point even it stops to function properly.
To start to have errors you can follow the following sequence:
1) open the first expander
2) open the second
3) open the third
4) close the second
5) starting clicking on the second expander location (without buttons visible) and it starts.
I can only guess that the more expander you use the more messy it will get ... hence the problems
with my program that uses 10.