Menus Component

Fnd_Menu_Window_Add

Fnd_Menu_Window_Add ({item text})

Legacy manual page 160

Parameters

ParameterTypeDescription
item textTextItem text to add to the menu (optional)

Description

Adds the specified title to the Window menu. If no title is specified, the window title of the current process is used. If the current process is already represented in the Window menu, the menu item text is updated.

Fnd_Wnd_Title ("Invoice Designer") ` Fnd_Menu_Window_Add will use this.
Fnd_Wnd_OpenFormWindow (->[Invoices];"InvoiceDesignerForm")

Fnd_Menu_Window_Add

DIALOG([Invoices];"InvoiceDesignerForm")

Fnd_Menu_Window_Remove CLOSE WINDOW

Call Fnd_Menu_Window_Remove just before closing the window to remove the item from the Window menu.

Extracted source text
            Fnd_Menu_Window_Add ({item text})

              Parameter               Type             Description
              item text               Text             Item text to add to the menu (optional)

            Adds the specified title to the Window menu. If no title is specified, the window title of the current
            process is used. If the current process is already represented in the Window menu, the menu item text is
            updated.
              Fnd_Wnd_Title ("Invoice Designer") ` Fnd_Menu_Window_Add will use this.
              Fnd_Wnd_OpenFormWindow (->[Invoices];"InvoiceDesignerForm")
              Fnd_Menu_Window_Add
              DIALOG([Invoices];"InvoiceDesignerForm")
              Fnd_Menu_Window_Remove
              CLOSE WINDOW

            Call Fnd_Menu_Window_Remove just before closing the window to remove the item from the
            Window menu.