| REM **********************************************************
REM メッセージボックス
REM **********************************************************
Function OkCancel( str )
Dim ret
if ScriptType <> 3 then
else
Exit Function
end if
if vbOK = MsgBox( str & "", vbOKCancel, "laylaClass" ) then
OkCancel = True
else
OkCancel = False
end if
End Function
Function YesNo( str )
Dim ret
if ScriptType <> 3 then
else
Exit Function
end if
if vbYes = MsgBox( str & "", vbYesNo, "laylaClass" ) then
YesNo = True
else
YesNo = False
end if
End Function
Function MsgOk( str )
if ScriptType <> 3 then
else
Exit Function
end if
Call MsgBox( str & "", 0, "laylaClass" )
End Function
Function MsgErr( str )
if ScriptType <> 3 then
else
Exit Function
end if
Call MsgBox( str & "", vbOKOnly + vbExclamation, "laylaClass" )
End Function
| |