以文本方式查看主题

-  Foxtable(狐表)  (http://foxtable.net/bbs/index.asp)
--  专家坐堂  (http://foxtable.net/bbs/list.asp?boardid=2)
----  文本框文本结尾不允许是符号"+"  (http://foxtable.net/bbs/dispbbs.asp?boardid=2&id=171240)

--  作者:wangglby
--  发布时间:2021/8/23 15:45:00
--  文本框文本结尾不允许是符号"+"
这种代码怎么写?
--  作者:有点蓝
--  发布时间:2021/8/23 16:04:00
--  
keydown事件

if e.sender.text > "" then
if e.sender.text(e.sender.text.length - 1) = "+" then
msgbox("不能是+")
e.sender.text = e.sender.text.trimend("+")
end if
end if