리스트뷰 » Api

getwindowrect

Description

브라우저 페이지 상의 컨트롤 위치값들(left,top,right,bottom)을 배열으로 반환하는 API이다.

Return Value

Type Description
Array 브라우저 페이지 상의 컨트롤 위치값들을 담은 배열

Remark

* left, top, right, bottom 순으로 가져온다.

Example

function btn_WindowPosition_on mouseup() { var arrPos = btnTest.getwindowrect(); screen.alert("왼쪽 : " + arrPos[0] + ", 위 : " + arrPos[1] + ", 오른쪽 : " + arrPos[2] + ", 아래 : " + arrPos[3]); }

See Also

getwindowbottom
getwindowleft
getwindowright
getwindowtop

Viewer Ver.

9.1.1.1

Update Date

20230427