Unable to disable a TMenuItem in the TAdvToolBar


I think there's a bug in the AdvMenus.

If you assign a TMainMenu to a TAdvToolBar - to replace the forms main menu - you then can't disable any of the TMenuItem's it might contain.

The only workround is to revert to the forms TMainMenu.

Bruce Messer

Can you try to call
AdvToolBar.UpdateMenu after you change the Enabled state?

Thanks Bruno, that's done the trick!