<< Click to Display Table of Contents >>

OZUserActionCommand > RemoveComp

OZUserActionCommandのタイプ中、RemoveCompは、メモ、ツールバーにある図形、画像が削除される際に発生され、リターンするattrは以下の通りです。

attr

説明

compname

コンポーネント名(string)

comptype

コンポーネントタイプ(string)

メモは"label"として返されます

reportname

レポート名(string)

Example

...

function OZUserActionCommand_OZViewer(type, attr) {

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

   if(type == "RemoveComp") {

       alert(MyObj.compname);

       ...

   }

}

...