The 'setDomReadonly' function sets the 'Readonly' flag for the current HTML content.

  • Prototype: plugin.setDomReadonly(iDbPos, bRO);
  • Parameters:
    1. iDbPos: a position number (0-based) of the database on the tab control; -1 for the current database.
    2. bRO: true to set the content readonly; false to set it editable.
  • Return Value: undefined
  • Example:
    plugin.setDomReadonly(-1, true);