RedrawFormMenuBar - for the main menu, this call provides an update of the image of the main menu bar after making any modifications in it. If such a call is not made, then the menu itself is not updated.
Sometimes the main menu uses a special visual effect of aligning one or more of the last top-level items of the main menu to the right. To achieve this effect, just run the following code:
i: = MainMenu1.ItemHandle [mmAbout];
ModifyMenu (MainMenu1.Handle, i,
MF_BYCOMMAND or mf_Help,
i,
PChar (MainMenu1.ItemText [mmAbout]));