I want to enable or disable an option in a ToolBar depending in this case if a text has been changed or not.
For a MenuBar it is easy to do it, but for a ToolBar I do not know the way.
I have tried to do it by a Timer function that calls every 3 seconds to UpdateLayout() and other functions, bot no success.
How can I force a ToolBar to update its layout?.
Best regards
Koldo
You need to set it again.
See examples/UWord, UWord::SetBar and calls to it.
This perhaps might be automated, which was sort of idea at some time in the past, but in the end I have found that calling 'SetBar' after each change is quite trivial...