Autor Beitrag
Alpha_Wolf
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 297

Ubuntu, Win XP, Win Vista
C#, Delphi 6 Prof, Delphi 2007 Prof, Java
BeitragVerfasst: Di 12.07.05 13:44 
Hallo Leute,

ich würde gerne das Zeichen für Unendlich in einem string schreiben.. bzw. es dann später in einem Grid ausgeben aber das denke ich ist ja nicht interessant.

Kann mir jemand sagen wie ich in Delphi das Zeichen für Unendlich erstellen kann bzw. wie es lautet?

user defined image
Nur so zur Info ein kleines Bild^^

Dankeschön im voraus..
uall@ogc
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 1826
Erhaltene Danke: 11

Win 2000 & VMware
Delphi 3 Prof, Delphi 7 Prof
BeitragVerfasst: Di 12.07.05 13:49 
ein string kann nur ascii werte haben, da kommt das zeichen nicht drin vor

dann musst du es wohl mit nem widestring versuchen bzw einer anderen schriftart

_________________
wer andern eine grube gräbt hat ein grubengrabgerät
- oder einfach zu viel zeit
Tilman
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1405
Erhaltene Danke: 51

Win 7, Android
Turbo Delphi, Eclipse
BeitragVerfasst: Di 12.07.05 14:02 
Das Unendlich-zeichen soll den Unicode-Wert #8734 haben - wie man den in Delphi bekommt weiß ich aber auch nicht
Sprint
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 849



BeitragVerfasst: Di 12.07.05 14:11 
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
var
  S: WideString;
begin

  S := #8734;
  MessageBoxW(0, PWideChar(S), nil0);

_________________
Ciao, Sprint.
Alpha_Wolf Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 297

Ubuntu, Win XP, Win Vista
C#, Delphi 6 Prof, Delphi 2007 Prof, Java
BeitragVerfasst: Di 12.07.05 15:27 
Hm.. dankeschön ^^

Zum Glück ist das Dev Express Grid so mächtig und macht jeden schmarrn mit *g*