Solved

Displaying special characters

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

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…
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…
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 this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

705 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

18 Experts available now in Live!

Get 1:1 Help Now