컴포넌트의 position 속성값을 설정하는 API이다.
Parameters | Type | Description |
---|---|---|
nPosition | short | 컴포넌트 position 속성값 |
Type | Description |
---|---|
BOOL | 정상처리 여부 |
function btn_on_mouseup()
{
var position;
// 0: absolute, 1:relative
position = tab_leftmenu.getposition();
if (position == 0) {
tab_leftmenu.setposition(1);
}
else {
tab_leftmenu.setposition(0);
}
}