1,109
社区成员
发帖
与我相关
我的任务
分享This.undo()
int i
int li_pos
string lsdata
if string(dwo.name)='a' then
li_pos = selectedstart( )
parent.title = string(li_pos)
for i=1 to len(data)
if not Match( mid(data,i,1) , "[0-9-]") then
li_pos --
continue
end if
lsdata+=mid(data,i,1)
next
this.settext(lsdata)
this.selecttext(li_pos,0)
end if
If dwo.name = 'bq' Then -- 换成你的列明
if Match(data, "^[0-9-]+$") Then
Else
This.undo()
end if
End if
