지정한 패널 안의 1차 자식 컴포넌트중 기준 컨트롤의 다음으로 생성된 컨트롤의 인스턴스를 가져오는 API이다.
Parameters | Type | Description |
---|---|---|
BaseObjInstance | INSTANCE | 기준 컨트롤의 instance |
Type | Description |
---|---|
INSTANCE | 기준 컨트롤의 다음 컨트롤 instance |
function btnGetinstance_on_mouseup()
{
var instFirst = panel.getchildinstancefirst();
var instNext = panel.getchildinstancenext(instFirst);
if(factory.isobject(instNext) == true) {
screen.alert("first Control : " + instFirst.getname() + ", next Control : " + obj.instNext());
}
}