탭 » Api
  
getchildinstancebyindex
  
Description
탭패널에 링크된 화면내부 컴포넌트 인스턴스를 주어진 컴포넌트 인덱스로 가져오는 API이다.
  
  
Parameters
  
    
      | Parameters | Type | Description | 
  
  
        
    
        | nTabItem | short | 탭 아이템 인덱스 | 
    
    
        | nCtrlIndex | long | 탭 패널 내부 컴포넌트 인덱스 | 
  
  
Return Value
  
    
      | Type | Description | 
  
  
    
      | INSTANCE | LPDISPATCH 컴포넌트 인스턴스 | 
  
Example
function btnGetName_on_mouseup()
{
	var obj = tabTest.getchildinstancebyindex(0, 1);
	if(factory.isobject(obj) == true) {
		// 해당 컨트롤이 존재하면 컨트롤의 이름을 alert으로 띄운다.
		screen.alert(obj.getname());
	} else {
		screen.alert("해당 컨트롤이 존재하지 않습니다.");
	}
}
  
See Also
getchildinstance
getchildinstancebyname
  
Viewer Ver.
9.1.1.1
  
Update Date
 20110328