CnPack Forum


 
Subject: messagebox有问题
javalong
新警察
Rank: 1



UID 377
Digest Posts 0
Credits 1
Posts 1
点点分 1
Reading Access 10
Registered 2004-4-20
Status Offline
Post at 2004-4-20 23:31  Profile | Blog | P.M. 
messagebox有问题

有问题,

if Application.MessageBox(PChar(确实要删除这条数据吗?), PChar(警告), MB_YESNO
  + MB_ICONSTOP + MB_TOPMOST) = IDYES then

[Error] jgwhunt.pas(98): Illegal character in input file: '确' ($C8B7)
  [Error] jgwhunt.pas(98): Illegal character in input file: '条' ($CCF5)
  [Error] jgwhunt.pas(98): Illegal character in input file: '警' ($BEAF)
Top
zjy
管理员
Rank: 9Rank: 9Rank: 9



UID 2
Digest Posts 6
Credits 2385
Posts 1543
点点分 2385
Reading Access 102
Registered 2002-12-16
Location China
Status Offline
Post at 2004-4-21 08:47  Profile | Site | Blog | P.M. 
这是因为您在对话框中选择了“标题为变量名”和“文本信息为变量名”两项,这样生成的代码就不自动加引号了。这两个框默认是不选中的,再试试看:)




Zhou JingYu
CnPack Administrator
http://www.cnpack.org/
Top
 




All times are GMT++8, the time now is 2024-11-22 06:14

    本论坛支付平台由支付宝提供
携手打造安全诚信的交易社区 Powered by Discuz! 5.0.0  © 2001-2006 Comsenz Inc.
Processed in 0.006722 second(s), 7 queries , Gzip enabled

Clear Cookies - Contact Us - CnPack Website - Archiver - WAP