The 'showResultsPane' function opens or hides the query results pane in the main window.

  • Prototype: plugin.showResultsPane(bVisible, bClear);
  • Parameters:
    1. bVisible: true indicates to open the pane, or close the pane;
    2. bClear: determines if or not to clear the previous query results;
  • Return Value: 0 on success, or -1 on failure.
  • Example:
    plugin.showResultsPane(true, true);