<< Click to Display Table of Contents >>
OZUserActionComamand > CommentErase
OZUserActionCommandのタイプ中、CommentEraseは消しゴムアイコンをクリックしてレポートに追加されたコメントを削除する際に発生され、リターンする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 == "CommentErase") {
alert(MyObj.mainscreen);
...
}
}
...