Hello, It’s me I’m the problem. I’ve been using the ribbonbar extension to create a windowsform-like web app, and I’ve recently come up with a problem. The ribbon bar buttons have a property called pushed that I thought It would be set to tue automatically when pushed, but it seems it’s not the case, but that’s okay though, It can be fixed with a couple of lines of code. My problem, however, is that it doesn’t seem to update its style until I hit refresh, Is there something I’m doing in a unrecommended way? Is there something I forgot to add? How could I fix this? Thank you.
Below there are four attached images. The first one shows the ribbon bar, second one shows the ribbon bar after one button has been clicked, which triggers a function that both sets all other button’s pushed properties to false and then sets this specific button’s to true. Third shows a second button being pressed, which triggered the function mentioned before, which had then set the first button’s pushed property to false, yet both buttons have the pushed style. Last screenshot shows the ribbon bar after hitting F5, nothing has changed variable-wise, but you can see now all buttons are shown with proper styling. I should mention this behaviour occurs regardless of how many buttons have been pressed, two or two hundreed it’s the same.
Send a small test case that we can open and run that shows your issue.
Please login first to submit.