Mega Code Archive

 
Categories / Delphi / Examples
 

Embedding a copyright symbol in a string

Question: How can I embed a copyright symbol in a caption? Answer: For most fonts, typing ALT+0169 in the (object inspector) will produce a copyright symbol. In code, use chr(169) to produce a copyright symbol. If you are using the symbol font, the char code will be 211.