<< Click to Display Table of Contents >>

OZUserActionCommand > CommentClear

OZUserActionCommandのタイプ中、CommentClearは、全て削除アイコンをクリックしレポートに追加された全てのコメントが削除される際に発生され、リターンするattrは以下の通りです。

attr

説明

mainscreen

全てのコメントが削除されたスクリーンがメインスクリーンかどうか(string)。

(true:メインスクリーン、false:サブスクリーン)

pageindex

ページのインデックス(int)。 One-Based Index

reportindex

レポートのインデックス(int)。 Zero-Based Index

Reference

マルチスクリーンの環境を対応しないViewerの場合、"mainscreen"は常に"true"でリターンされます。

Example

...

function OZUserActionCommand_OZViewer(type, attr) {

  var MyObj = eval('(' + attr + ')');

  if(type == "CommentClear") {

      alert(MyObj.mainscreen);

      ...

  }

}

...