Solved

Displaying special characters

Posted on 1998-08-30
3
162 Views
Last Modified: 2013-12-03
Hi, I want to display the word "Astralie", with the e as
alt 0137, as a button's caption. But everytime I try this the
program shows the e as an black box. How can I solve this problem?
Thanks in advance,
richard
0
Comment
Question by:pentvip
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 8

Expert Comment

by:ZifNab
ID: 1338145
? I don't have any problems.... do you use a font which allows this? ..
Zif.
0
 

Author Comment

by:pentvip
ID: 1338146
Maybe that is the problem. With which fond do I know for sure that
it will display the character?

richard
0
 
LVL 10

Accepted Solution

by:
viktornet earned 50 total points
ID: 1338147
To display a special character follow this....

If you have the characters viewer that comes with Windows installed, open it and see the cahracter that you want to use....Take a look at the font that it uses ...click on the chracter and see what number it is ex. Alt 0137

Next do this...
//This is an example.....you already saw the font's name from the char viewer and now place it here...

Button1.Font.Name := 'Symbol';
Button1.Caption := #227;//This would show you the Copyright symbol

Regards,
Viktor Ivanov
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

710 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question