• JMap.Application.Query.displayInDialog

    By default, the query form is displayed in the left panel with a simple layout, one field per line.

    But it is possible to display it in a modal window, with the layout defined in the project.

    Parameters

    • isVisibleInDialog: boolean

      true in modal window, false in left panel

    Returns void

    Throws

    if isVisibleInDialog is not a boolean

    Example

    // display the current form in a modal window
    JMap.Application.Print.displayInDialog(true)

    // display the current form in the left panel
    JMap.Application.Print.displayInDialog(false)