패널 » Api
  
scroll
  
Description
패널을 원하는 위치로 스크롤할 수 있는 API이다.
  
  
Parameters
  
    
      | Parameters | 
      Type | 
      Description | 
    
  
  
        
    
        | nXAmount | 
        short | 
 	이동할 x 좌표 | 
      
    
    
        | nYAmount | 
        short | 
 	이동할 y 좌표 | 
      
  
  
Return Value
  
Remark
* 패널의 넓이.높이가 지정된 사이즈보다 넓거나 높아서 스크롤이 생길 시에 스크롤의 위치를 지정한다.
  
 
  
Example
function btn_scroll_on_mouseup()
{
	panel.scroll(0, -10);
	/* 
	위와 같은 방법으로 스크립트를 작성하면 패널의 스크롤이 
	현재 내 위치에서 10만큼씩 올라간다 반대로 내려가게 하려면 
	scroll(0, 10) 이렇게 구현하면 가능하다 
	*/
}
  
See Also
scrollpospagenext
scrollpospageprev
scrollpostofirst
scrollpostolast
  
Viewer Ver.
9.1.1.1
  
Update Date
 20140609