화면 » Api
  
setportletpos
  
Description
loadportlet으로 로드된 화면에서 위치 및 사이즈를 변경하는 API이다.
  
  
Parameters
  
    
      | Parameters | 
      Type | 
      Description | 
    
  
  
        
    
        | nXPos | 
        short | 
 	x좌표 | 
      
    
    
        | nYPos | 
        short | 
 	y좌표 | 
      
    
    
        | nWidth | 
        short | 
 	너비 | 
      
    
    
        | nHeight | 
        short | 
 	높이 | 
      
    
    
        | bMove | 
        BOOL | 
 	메뉴의 이동 여부(true, false) | 
      
    
    
        | bSize | 
        BOOL | 
 	파라미터 값으로 resize할 지 여부(true, false) | 
      
    
    
        | bCenter | 
        BOOL | 
 	파라미터 값에 상관없이 중앙에 위치하게 할 지 여부(true, false) | 
      
  
  
Return Value
  
Remark
* loadportlet를 호출할 때 사이즈와 위치를 지정하고, 호출된 후에 다시 사이즈 및 위치를 재조정할 때 사용하는 API이다.
  
 
  
Example
function btn_loadmenu_on_mouseup()
{
	factory.loadportlet("portlet","/portlet", 10, 10, false, false, false, 50, 30, null);
}
// 포틀릿 화면내 스크립니다.
function btn_setmenupos_on_mouseup()
{
    screen.setportletpos(0, 0, 100, 200, true, true, false);
}
  
Viewer Ver.
9.1.1.1
  
Update Date
 20220615