Solved

Displaying special characters

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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Intraweb submit form as a POST request 4 327
Convert a string into a TDateTime 5 64
PHP preg_replace code convert to Delphi 14 68
Wincontrol not (correctly) drawn 15 42
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
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…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

830 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