开发者

How can use the ( ' ) symbol in DELPHI Edit components?

How开发者_高级运维 can allow the usage of the symbol (') in DELPHI TEdit and other components ?


If you want the end-user to be able to type it, then you have to do nothing (he/she can already). If you want to use the character in strings in Delphi code, write '' instead, as in

const
  s = 'This isn''t good.';


Use a double ', e.g. 'What''s up'


Ok done some test and all you guys where correct. The symbol is allowed.

The problem is with devExpress tools. Some of them are not prepared to allow it.

Thanks for the replies

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜