plugin.getCurNavigationTab

The 'getCurNavigationTab' function retrieves a tag of the current navigation tab in the main window.

  • Prototype: plugin.getCurNavigationTab(iDbPos);
  • Parameters:
    1. iDbPos: a position number (0-based) of the database on the tab control; -1 for the current database.
  • Return Value: Tag of the current navigation tab; One of the available values:
    1. Outline
    2. LabelTree
    3. Calendar
    4. Bookmarks
    5. Overview
  • Example:
    alert(plugin.getCurNavigationTab(-1));