Board logo

Subject: messagebox有问题 [Print This Page]

Author: javalong    Time: 2004-4-20 23:31     Subject: 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)
Author: zjy    Time: 2004-4-21 08:47

这是因为您在对话框中选择了“标题为变量名”和“文本信息为变量名”两项,这样生成的代码就不自动加引号了。这两个框默认是不选中的,再试试看:)




Welcome to CnPack Forum (http://bbs.cnpack.org/) Powered by Discuz! 5.0.0