Mega Code Archive

 
Categories / Delphi / Examples
 

Moving menus

How to move a menu ? // The line that follows switch « New » with « Open » in the file menu // Items[0] identifies the first « main » menu (File) // [1] identifies the second submenu (Open) MainMenu1.Items[0][1].MenuIndex := 0;