DIV » Event

on_enddrag

Description

드래그 시작한 곳의 개체 안에 마우스 드롭 완료 시 호출됨

Return Value

Type Description
short

Remark

* 주의 : on_dropcomplete 이벤트는 다른 컨트롤에서 드래그 시작해 현재 컨트롤에 드롭 완료시 호출됨

* on_enddrag 이벤트는 컨트롤의 tabitem_moveable 속성을 True로 해주어야만 호출된다.

Example

/**
 * DIV 드래그 시작한 곳의 개체 안에 마우스 드롭 완료 시 호출 이벤트
 *
 * @param {Object} objInst DIV 컴포넌트 인스턴스
 * @param {number} nXPoint 타이틀박스 기준의 x좌표
 * @param {number} nYPoint 타이틀박스 기준의 y좌표
 * @param {number} nPageXPoint 페이지 기준의 x좌표
 * @param {number} nPageYPoint 페이지 기준의 y좌표
 * @param {number} nWinXPoint 컴퓨터 스크린 좌측 상단 기준 Left좌표
 * @param {number} nWinYPoint 컴퓨터 스크린 좌측 상단 기준 Top 좌표
 *
 */
function div_on_enddrag(objInst, nXPoint, nYPoint, nPageXPoint, nPageYPoint, nWinXPoint, nWinYPoint)
{
	factory.consoleprint("on_enddrag> Start");
	factory.consoleprint("on_enddrag> DIV Object Name = " + objInst.getname());
	factory.consoleprint("on_enddrag> nXPoint = " + nXPoint);
	factory.consoleprint("on_enddrag> nYPoint = " + nYPoint);
	factory.consoleprint("on_enddrag> nPageXPoint = " + nPageXPoint);
	factory.consoleprint("on_enddrag> nPageYPoint = " + nYPnPageYPointoint);
	factory.consoleprint("on_enddrag> nWinXPoint = " + nWinXPoint);
	factory.consoleprint("on_enddrag> nWinYPoint = " + nWinYPoint);
}

Viewer Ver.

9.1.1.1

Update Date

20230714