컨트롤의 크기를 지정하는 API이다.
Parameters | Type | Description |
---|---|---|
nLeft | short | left 값 |
nTop | short | top 값 |
nRight | short | right 값 |
nBottom | short | bottom 값 |
Type | Description |
---|---|
void | 없음 |
* 지정할 크기를 setrext API에 파라미터로 왼쪽, 위쪽, 오른쪽, 아래쪽 순서로 입력한다.
function btn_setrect_on_mouseup()
{
btnTest.setrect(10,10,70,50);
// 버튼의 각 위치를 할당해서 다시 그린다
}