plugin.getCurLabelItem

The 'getCurLabelItem' function retrieves label path to the currently selected label item.

  • Prototype: plugin.getCurLabelItem(iDbPos);
  • Parameters:
    1. iDbPos: a position number (0-based) of the database on the tab control; -1 for the current database.
  • Return Value: path to the current label item on success, or empty string on failed.
  • Example:
    alert(plugin.getCurLabelItem(-1));