탭 » Api
movechildframe
Description
탭의 화면이 창모드일 때 해당 창의 위치와 크기를 움직이는 API이다.
Parameters
Parameters |
Type |
Description |
nTabItem |
short |
탭 아이템 인덱스 |
nLeft |
short |
창 x좌표 |
nTop |
short |
창 y좌표 |
nWidth |
short |
창 너비 |
nHeight |
short |
창 높이 |
Return Value
Type |
Description |
BOOL |
정상 적용 여부(true, false) |
Remark
* 탭 타이틀바를 사용하는 경우 창모드로 변경할 수 있다. (계단식 바둑판식)
Example
function btnMovechildframe_on_mouseup()
{
tabTest.movechildframe(1, 10, 20, tabTest.getchildframewidth(1), tabTest.getchildframeheight(1));
//1번째 탭 아이템을 창 크기는 그대로 두고 좌표를 (10, 20)으로 움직인다.
}
See Also
getchildframepos
Viewer Ver.
9.1.1.1
Update Date
20070105