<< Click to Display Table of Contents >>

OZUserActionCommand > MoveComp

OZUserActionCommandのtype中MoveCompはコンポーネントのサイズと位置を変更する時に発生し、返される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座標(float)

ypos

Y座標(float)

Example

...

function OZUserActionCommand_OZViewer(type, attr) {

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

   if(type == "MoveComp") {

       alert(MyObj.compname);

       ...

   }

}

...