<< Click to Display Table of Contents >>

OZUserActionCommand > AddMemo

OZUserActionCommandのtype中AddMemoはレポートにメモラベルを追加する時に発生し、返されるattrは次の通りです。

attr

説明

compindex

コンポーネントのインデックス(int)。 One-Based Index

compname

コンポーネント名(string)

リターンする値:空の値

comptype

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

リターンする値:label

height

メモラベルの高さ(float)

pageindex

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

reportindex

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

reportname

レポート名(string)

width

メモラベルの幅(float)

xpos

メモラベルのX座標W(float)

ypos

メモラベルのY座標W(float)

Example

...

function OZUserActionCommand_OZViewer(type, attr) {

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

   if(type == "AddMemo") {

       alert(MyObj.compindex);

       ...

   }

}

...