Property

Method

Event

 

 

IsDirty

ÆíÁý ÁßÀÎ ¹®¼­ÀÇ ³»¿ëÀÌ º¯°æµÇ¾ú´ÂÁö¸¦ È®ÀÎÇÕ´Ï´Ù.

Syntax

    HRESULT IsDirty(
    BOOL* pVal
    );

Parameters

pVal

[out, retval] ÇöÀç ¹®¼­ÀÇ º¯°æ »óŸ¦ µ¹·ÁÁÝ´Ï´Ù.

0

º¯°æµÇÁö ¾Ê¾ÒÀ½

1

º¯°æµÇ¾úÀ½

Return Values

Ç×»ó : 0

Sample Codes

VBScript

function TestBtn_OnClick
dim object
   set object = document.editForm
   info = object.wec.IsDirty
   if info<>0 then
      object.wec.DoCommand "file_save"
   end if
end function