Returns the form's Menus collection, enabling you to add a dynamic menu to your add-on form.
Returns the form's Menus collection, enabling you to add a dynamic menu to your add-on form.
| Visual Basic |
|---|
Public Property Menu() As Menus |
This menu appears under the application Goto menu when the form gets focus. Using dynamic menus helps you maintain the SAP Business One look and feel in your forms.
When the form is closed, your add-on does not need to delete the form menu; it is removed from the Goto menu automatically.
We recommend using XML to add a form menu. This will allow your add-on to open multiple forms of the same type (with form menu) in parallel without getting exceptions on identical menu unique IDs. For more information, see the <FormMenu> element in Adding Forms with XML.