Adding menu items at runtime doesn't observe style

I have a TAdvMainMenu which uses a TAdvMenuOfficeStyler to set menu item styles. I am adding items in runtime to one of the root items but the new menu items are not using the styles of the TAdvMenuOfficeStyler. A refresh doesn't fix the problem.

Is there a repaint or similar method to force the new items to use the correct styles?

Laurence Bevan

If you use TAdvMainMenu in conjunction with a TAdvToolbar, call AdvtoolBar.UpdateMenu after programmatically updating the menu.