Select button pressed

When I use disable / enable functions, TwoStateButton doesn’t remember its last pressedState.

Well perhaps it remember its state but definitely doesn’t show it graphically.

I disable button when it is pressed and when I enable it it still looks unpressed.


bug is fixed. (11.9 KB)

Thank you but it seems that it doesn´t work whith my 1.5 pro version.
Have you any hint what to do?

Which version of toolbar are you using?
If you are using toolbar 2.0 attachment above is a fixed version.
If you are using toolbar 1.x - please try to use attached files instead of original one. (10.4 KB)

I use dhtmlxSuite_pro_v16_80111 and it works.
Thank you, you are doing excellent work.