토글버튼 » Api

setrect

Description

컨트롤의 크기를 지정하는 API이다.

Parameters

Parameters Type Description
nLeft short left 값
nTop short top 값
nRight short right 값
nBottom short bottom 값

Return Value

Type Description
void 없음

Remark

* 지정할 크기를 setrext API에 파라미터로 왼쪽, 위쪽, 오른쪽, 아래쪽 순서로 입력한다.

Example

function setrect_on_mouseup(objInst) { // 토글버튼 각 위치를 할당해서 다시 그린다 togglebtn.setrect(100,20,170,50); }

See Also

getrect

Viewer Ver.

9.1.1.1

Update Date

20161219