그리드 » 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> Grid 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

20230612