탭 » Api
getchildshapeinstancenext
Description
지정한 탭 아이템 안의 화면 디자인시 기준 도형의 다음으로 생성된 도형의 인스턴스를 가져오는 API이다.
Parameters
Parameters |
Type |
Description |
nTabItem |
short |
지정한 탭아이템 index |
BaseShapeInstance |
INSTANCE |
컨트롤의 Instance |
Return Value
Type |
Description |
INSTANCE |
해당 컨트롤의 instance |
Example
function btnGetNextShape_on_mouseup()
{
var FirstShape = tabTest.getchildshapeinstancefirst(1);
if(factory.isobject(FirstShape) == true) {
var NextShape = tabTest.getchildshapeinstancenext(1, FirstShape);
if(factory.isobject(NextShape) == true) {
screen.alert("First : " + FirstShape.getname() + ", Next : " + NextShape.getname());
}
}
}
See Also
getchildshapeinstancefirst
Viewer Ver.
9.1.1.1
Update Date
20110328