plugin.refreshOutline

The 'refreshOutline' function indicates myBase main program to refresh the outline tree for the database.

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