라인 » Api

getright

Description

모든 컨트롤의 오른쪽(right) 위치값을 반환하는 API이다.

Parameters

Parameters Type Description
bFromParentRight BOOL [옵션]부모의 우측을 기준으로 right값을 구할지 여부 (기본값: false)

Return Value

Type Description
short 오른쪽(right) 위치값

Remark

* bFromParentRight이 false일때 :  컨트롤 속성의 (x + width)값을 리턴한다.

* bFromParentRight이 true일때 : 자신의 부모 오브젝트로부터 우측으로 몇 pixel 떨어져있는지 값을 리턴한다.

Example

function btn_getright_on_mouseup() { screen.alert(btnTest.getright()); }

See Also

getbottom
getheight
getleft
getwidth
gettop

Viewer Ver.

9.1.1.1

Update Date

20190514