只读时,点"数据浏览"无法弹出script窗口

  • 26 浏览
  • 最后发表 2013-04-10 21:15
admin 发布于 2013-04-10 21:15

只读时,点"数据浏览"无法弹出script窗口

 CComString sType = CComString(ele.GetAttr(_T("browsertype")));

    if( ele.IsReadOnly() == true && sType != CComString(_T("script")) )//2005.12.11
        return;

原来是:

//CComBSTR bstrType = ele.GetAttr(_T("browsertype"));

    //if( ele.IsReadOnly() == true && bstrType != CComBSTR(_T("script")) )
    //    return;

要回复问题请先登录注册

Close