Param

Method

Event

 

 

BeforeFileLoad

파일 열기(Open)를 통하여 문서를 열 때, 문서를 열기 전에 이벤트를 발행합니다.

 

Syntax

    void BeforeFileLoad(
    BSTR fpath
    );

 

Parameters

fpath

[out] 불러오려는 문서의 URL을 출력합니다.

 

Remarks

초기 환경 설정이나 메소드(Method) 호출에 의한 FileOpen에서는 이벤트를 발행하지 않습니다.

 

Sample Codes

VBScript

Function Wec_BeforeFileLoad(furl)
msgbox furl + "을(를) 오픈합니다."
end function

 

JavaScript

<SCRIPT language="JScript" FOR="Wec" EVENT="BeforeFileLoad(furl)">
alert(furl + "을(를) 오픈합니다.");
</SCRIPT>