버튼 » Event

on_rclick

Description

마우스 오른쪽 버튼 클릭 이벤트이며, 자세한 내용은 샘플 소스를 참조한다.

Parameters

Parameters Type Description
objInst INSTANCE 이벤트가 발생한 버튼 오브젝트
nXPoint short 버튼 기준의 x좌표
nYPoint short 버튼 기준의 y좌표
nPageXPoint short 페이지 기준의 x좌표
nPageYPoint short 페이지 기준의 y좌표

Return Value

Type Description
void

Example

/**
 * 버튼 마우스 우측 버튼 클릭 이벤트
 * 
 * @param {Object} objInst 버튼 컴포넌트 인스턴스
 * @param {number} nXPoint 버튼 기준의 x좌표
 * @param {number} nYPoint 버튼 기준의 y좌표
 * @param {number} nPageXPoint 페이지 기준의 x좌표
 * @param {number} nPageYPoint 페이지 기준의 y좌표
 */
function grd_on_rclick(objInst, nXPoint, nYPoint, nPageXPoint, nPageYPoint)
{
	var mouse_event_pos_info;
	
	factory.consoleprint("on_rclick> Start");
	factory.consoleprint("on_rclick> Button Object Name = " + objInst.getname());
	factory.consoleprint("on_rclick> nXPoint = " + nXPoint);
	factory.consoleprint("on_rclick> nYPoint = " + nYPoint);
	factory.consoleprint("on_rclick> nPageXPoint = " + nPageXPoint);
	factory.consoleprint("on_rclick> nPageYPoint = " + nPageYPoint);
	
	// mouse_event_pos_info 정보에 대한 자세한 내용은 getmouseeventpos API 도움말 참조
	mouse_event_pos_info = factory.getmouseeventpos();
}

Viewer Ver.

9.1.1.1

Update Date

20230711