화면 디자인시 기준 컨트롤의 다음으로 생성된 컨트롤의 인스턴스를 가져오는 API이다.
기준 컨트롤의 인스턴스와 원하는 아이템의 인덱스를 지정해 주어야 한다.
Parameters | Type | Description |
---|---|---|
nItemIndex | short | 아이템 인덱스 |
BaseObjInstance | INSTANCE | 기준 컨트롤의 instance |
Type | Description |
---|---|
INSTANCE | 기준 컨트롤의 다음 컨트롤 instance |
function btnGetinstance_on_mouseup()
{
var instFirst = slideView.getchildinstancefirst(0);
var instNext = tabTest.getchildinstancenext(0, instFirst);
if(factory.isobject(instNext) == true) {
screen.alert("first Control : " + instFirst.getname() + ", next Control : " + instNext.getname());
}
}