Lists Component

Fnd_List_AddItem

Fnd_List_AddItem (command name; method name)

Legacy manual page 141

Parameters

ParameterTypeDescription
command nameTextCommand name to add to the dialog
method nameTextMethod name to run if command name is selected

Description

The Fnd_List_AddItem routine adds a command to the Command Dialog. Pass it the command name to display to the user, and the 4D method to call if the command is selected by the user. This routine can be called multiple times before calling the Fnd_List_CommandDialog command.

Fnd_List_AddItem ("Print Sales Report";"PrintSalesReport")
Fnd_List_AddItem ("End of Month Report";"PrintEOMReport")

Fnd_List_CommandDialog

Extracted source text
            Fnd_List_AddItem (command name; method name)

              Parameter                 Type              Description
              command name              Text              Command name to add to the dialog
              method name               Text              Method name to run if command name is selected

            The Fnd_List_AddItem routine adds a command to the Command Dialog. Pass it the command name
            to display to the user, and the 4D method to call if the command is selected by the user. This routine can
            be called multiple times before calling the Fnd_List_CommandDialog command.
              Fnd_List_AddItem ("Print Sales Report";"PrintSalesReport")
              Fnd_List_AddItem ("End of Month Report";"PrintEOMReport")
              Fnd_List_CommandDialog