컨트롤의 너비값(width)을 변경하는 API이다.
Parameters | Type | Description |
---|---|---|
width | short | 컨트롤 너비값(width) |
Type | Description |
---|---|
void |
트랙의 width는 settrackwidth API로 변경해야 한다.
function btn_setwidth_on_mouseup()
{
// 컨트롤의 width를 500px로 변경
btnTest.setwidth(500);
}