화면 » Api
findportletpopup
Description
화면에서 로드한 포틀릿 팝업중에서 팝업 이름에 해당하는 포틀릿 팝업 화면 인스턴스를 반환하는 API이다.
Parameters
Parameters |
Type |
Description |
strPopupName |
STRING |
팝업이름 |
Return Value
Type |
Description |
STRING |
포틀릿 팝업 화면 인스턴스 또는 오류 발생시 null |
Example
function btnFindPopup_on_mouseup()
{
var instPopup = screen.findportletpopup("POPUP_NAME");
if(factory.isobject(instPopup)){
var txtDateFieldName = instPopup.getinstancebyname("txtMenu");
if(factory.isobject(txtDateFieldName)){
txtDateFieldName.settext("데이터넣기");
}
} else {
screen.alert("팝업화면을 찾지 못했습니다.");
}
}
See Also
findportletpopupbyindex
loadportletpopup
Viewer Ver.
9.1.1.1
Update Date
20230208