I am developing an application that has many activities. Is there any way to implement the same menu to all activities?
Asked
Active
Viewed 2,462 times
1 Answers
1
You can use a code module to create the menu.
Sub CreateMenu(Act As Activity)
Act.AddMenuItem("m1", "m1")
Act.AddMenuItem("m2", "m2")
Act.AddMenuItem("m3", "m3")
End Sub
You can then call this method from other activities. The events will be handled in each activity.

Erel
- 1,802
- 2
- 15
- 58