Solved

Displaying special characters

Posted on 1998-08-30
3
159 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
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
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…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

910 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now