To avoid that the callback "getPressed" for ToggleButtons will be written to the RibbonXML, the following registry key must be set:
Registry key: HKEY_CURRENT_USER\Software\IDBE\RibbonCreator2021
String Value : DontUseGetPressedTglButton
Value : 1
To disable these option set its value to 0 or delete the registry key "DontUseGetPressedTglButton".
Value : 0
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\IDBE\RibbonCreator2021] "DontUseGetPressedTglButton"="1"
Please note that all modifications you make are at your own risk.
There is no support granted.