Topic: Edit/Add default menu

Hello...
How can I add items to the menu that comes by default in the application?

Re: Edit/Add default menu

Hello.


Check it out
http://myvisualdatabase.com/forum/viewtopic.php?id=1432

Dmitry.

Re: Edit/Add default menu

Other doubts:

1- Can this menu be placed on a form other than the main one?
2- Can icons be added to the menu?
2.1- If the answer is no. Can characters be used as an alternative to icons? like the ones shown here https://www.copypastecharacter.com/

Re: Edit/Add default menu

Hello Wenchester

1 - Yes you can but do not forget to refer to the form containing the menus
Example :     

  MenuForm2 := TMainMenu.Create(Form2); // Create MainMenu on Form2
   MenuForm2.Items.Add(MyItem1);         // you can use ADD or INSERT
   MenuForm2.Items.Insert(0, MyItem2);   // you can use ADD or INSERT
   MyItem2.Add(MySubItem3);

2 - Yes you can.
search this forum
Mathmatou proposed a super script which allows to insert icons in the menus
Find with keyword "Mathmatou" to get this script

3 - Probably not unless you turn these special characters into images which refers to Mathmatou

Hope this helps you

JB

Re: Edit/Add default menu

wenchester21
1.Example: http://myvisualdatabase.com/forum/misc. … download=1


2. Check it out: http://myvisualdatabase.com/forum/viewtopic.php?id=3491

Dmitry.