콤보박스 » Api

setpicklistexprfunc

Description

콤보박스 picklist_expr_func 속성값을 설정하는 API이다.

Parameters

Parameters Type Description
strFuncName STRING picklist_expr_func 속성값

Return Value

Type Description
BOOL 정상 처리 여부

Example

function btn_setpicklistexprfunc_on_mouseup(objInst) { cbo.setpicklistexprfunc("PicklistExprFunc"); factory.consoleprint("picklist_expr_func = " + cbo.getpicklistexprfunc()); } /** * 픽리스트 선택/목폭 표시 처리 사용자 정의 함수 * * @param objScreen 화면 인스턴스 * @param objComponent 컴포넌트 인스턴스 * @param strCode 코드 값 * @param strComment 코멘트 값 * @param nRow 행 인덱스 (Zero-Based) (필드인 경우, -1) * @param nSubRow 서브행 인덱스 (Zero-Based) (필드인 경우, -1) * @param nColumn 열 인덱스 (Zero-Based) (필드인 경우, -1) * @returns 코드_정보_오브젝트 또는 null/undefined * null/undefined - 리턴값이 무시됨 * 코드_정보_오브젝트 - 리턴값에 정의된 정보 사용 (아래 샘플 소스 참조) */ function PicklistExprFunc(objScreen, objComponent, strCode, strComment, nRow, nSubRow, nColumn) { // 코드_정보_오브젝트 var retInfo = { code: undefined, // undefined 지정시 값 사용되지 않음 comment: undefined // undefined 지정시 값 사용되지 않음 }; factory.consoleprint("ExprFuncData> " + [strCode, strComment].join(",")); retInfo.code = strCode.substring(0, 2) + "**"; retInfo.comment = strComment.substring(0, 2) + "****"; // 값 없이 리턴시 아무런 동작을 수행하지 않음 // return; return retInfo; }

See Also

getpicklistexprfunc

Viewer Ver.

23.8.11.1

Update Date

20240105