Autor Beitrag
Kwailam
Hält's aus hier
Beiträge: 2



BeitragVerfasst: Mo 11.05.09 12:49 
Wie bekomme ich im einen Label das Zeichen Pi als griechischen Buchstaben zu sehen?

vielen Dank!
Marc.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1876
Erhaltene Danke: 129

Win 8.1, Xubuntu 15.10

BeitragVerfasst: Mo 11.05.09 12:54 
Im Font "Symbol" steht P respektive p für PI. ;)

Edit: Fehler korrigiert


Zuletzt bearbeitet von Marc. am Mo 11.05.09 13:32, insgesamt 2-mal bearbeitet
Kwailam Threadstarter
Hält's aus hier
Beiträge: 2



BeitragVerfasst: Mo 11.05.09 12:57 
Kannst du mir mit dem Code auch helfen, also z.B. label5.caption := ...

Danke
Andreas L.
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 1703
Erhaltene Danke: 25

Windows Vista / Windows 10
Delphi 2009 Pro (JVCL, DragDrop, rmKlever, ICS, EmbeddedWB, DEC, Indy)
BeitragVerfasst: Mo 11.05.09 12:58 
Schriftart auf Arial stellen und dann mit Copy 'n' paste das hier einfügen: π (Sieht mit der Boardschriftart halt nicht nach Pi aus...)

Sowas findet sich in der Zeichentabelle!
Einloggen, um Attachments anzusehen!
Marc.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1876
Erhaltene Danke: 129

Win 8.1, Xubuntu 15.10

BeitragVerfasst: Mo 11.05.09 13:13 
user profile iconMarc. hat folgendes geschrieben Zum zitierten Posting springen:
Im Zeichensatz "Symbol" steht P respektive p für PI. ;)

Ich meinte natürlich Font und nicht Zeichensatz. :oops:

ausblenden Delphi-Quelltext
1:
2:
  label1.Font.Name := 'Symbol';
  label1.Caption := 'p';
jakobwenzel
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1889
Erhaltene Danke: 1

XP home, ubuntu
BDS 2006 Prof
BeitragVerfasst: Mo 11.05.09 13:41 
user profile iconAndreas L. hat folgendes geschrieben Zum zitierten Posting springen:
Schriftart auf Arial stellen und dann mit Copy 'n' paste das hier einfügen: π

Mit Delphiversionen vor 2009 wird das allerdings wahrscheinlich nix.

_________________
I thought what I'd do was, I'd pretend I was one of those deaf-mutes.
Andreas L.
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 1703
Erhaltene Danke: 25

Windows Vista / Windows 10
Delphi 2009 Pro (JVCL, DragDrop, rmKlever, ICS, EmbeddedWB, DEC, Indy)
BeitragVerfasst: Mo 11.05.09 14:59 
user profile iconjakobwenzel hat folgendes geschrieben Zum zitierten Posting springen:
user profile iconAndreas L. hat folgendes geschrieben Zum zitierten Posting springen:
Schriftart auf Arial stellen und dann mit Copy 'n' paste das hier einfügen: π

Mit Delphiversionen vor 2009 wird das allerdings wahrscheinlich nix.


Bei mir gehts problemlos. Hab Turbo Delphi 2006 ohne Unicode-Controls.
GTA-Place
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
EE-Regisseur
Beiträge: 5248
Erhaltene Danke: 2

WIN XP, IE 7, FF 2.0
Delphi 7, Lazarus
BeitragVerfasst: Mo 11.05.09 15:04 
Delphi 7 macht ein p draus. Deshalb wenn es nicht geht, die Variante mit der Schriftart Symbol benutzen. Das geht.

_________________
"Wer Ego-Shooter Killerspiele nennt, muss konsequenterweise jeden Horrorstreifen als Killerfilm bezeichnen." (Zeit.de)