您的位置:首页 > 其它

当字段允许修改并且字段类型为char时打开某窗口

2017-11-10 00:40 302 查看
记录一下
if row > 0 then
string ls_para,ls_ColType
ls_ColType = Describe(dwo.name+".ColType")
if Pos(Lower(ls_ColType),"char")<>0 and this.object.datawindow.readonly <> 'yes' and this.Describe(string(dwo.name) + ".TabSequence") <> '0' then
this.accepttext()
ls_para =  getitemstring(row,string(dwo.name))
openwithparm(w_edit_view,ls_para)
if message.stringparm > "" then
setitem(row,dwo.name, Message.StringParm)
end if
end if
end if
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: