I trying to use the Quick access toolbar on Dev Components Ribbon Bar, it works fine if I set it in the designer. But if I change the 'CanCustomize' flag on a 'BaseItem' on the form load event the customize dialog does NOT pick this up. I wondered if there is a command I can call to tell the ribbon bar to redefine itself? or if I have to redefine the ribbon bar entirely?
I have tried calling RecalcLayout as beloww
BaseItem.CanCustomize = false
RibbonBar.RecalcLayout()
but it does not work.