本文整理自网络,侵删。
你伪码错误啦!
if Key in [#92,#47,#58,#42,#63,#34,#60,#62,#124] then
Key := #0;
不知道伪码也可以这样
if Key in ['\','/',':','*','?','"','<','>','|'] then
Key := #0;
查伪码可以用ord查,如showmessage(inttostr(ord('\'))) 相关阅读 >>
Delphi 使用windows api(wincrypt)计算文件md5哈希,支持大文件
Delphi xe5 中tmemo控件的应用――for android
更多相关阅读请进入《Delphi》频道 >>