<< 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.compindex);
...
}
}
...