탭 » Api
getchildinstancenext
Description
지정한 탭 아이템 안의 화면 디자인시 기준 컨트롤의 다음으로 생성된 컨트롤의 인스턴스를 가져오는 API이다.
Parameters
Parameters |
Type |
Description |
nTabItem |
short |
탭 아이템 인덱스 |
BaseObjInstance |
INSTANCE |
기준 컨트롤의 instance |
Return Value
Type |
Description |
INSTANCE |
기준 컨트롤의 다음 컨트롤 instance |
Example
function btnGetinstance_on_mouseup()
{
var instFirst = tabTest.getchildinstancefirst(1);
var instNext = tabTest.getchildinstancenext(1, instFirst);
if(factory.isobject(instNext) == true) {
screen.alert("first Control : " + instFirst.getname() + ", next Control : " + obj.instNext());
}
}
See Also
getchildinstancefirst
Viewer Ver.
9.1.1.1
Update Date
20110328