버튼 » Api

setorigin

Description

컴포넌트의 origin값을 지정하는 API이다.

Parameters

Parameters Type Description
nLeft long 중심점의 왼쪽(x) 위치값
nTop long 중심점의 상단(y) 위치값

Return Value

Type Description
BOOL 정상 처리 여부

Remark

기본값은 컴포넌트의 좌측위(0,0)이다.

설정 가능한 값의 범위: -65536 ~ 65536(정수값)

Example

function btn_origin_on_mouseup() { btnTest.setorigin(20,0); }

See Also

getorigin

Viewer Ver.

9.1.1.1

Update Date

20210406