<< Click to Display Table of Contents >>

OZUserActionCommand > CommentDraw

OZUserActionCommandのタイプ中、CommentDrawはレポートにコメントを追加する際に発生され、リターンする 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 == "CommentDraw") {

      alert(MyObj.mainscreen);

      ...

  }

}

...