Autor Beitrag
TheNeon
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 408

Windows
VS2010 C#
BeitragVerfasst: Sa 17.05.03 13:37 
Hallo,

ich möchte zur Laufzeit einem Label Sonderzeichen hinzufügen (z.B. ALT+500) ...... wie mache ich das?!?


Zuletzt bearbeitet von TheNeon am Sa 17.05.03 15:20, insgesamt 1-mal bearbeitet
BungeeBug
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 901



BeitragVerfasst: Sa 17.05.03 14:12 
Hi,
wo is das Problem?

ausblenden Delphi-Quelltext
1:
2:
3:
4:
procedure TForm1.Edit1KeyPress(Sender: TObject; var Key: Char);
begin
Label1.Caption := Edit1.Text+'¶';
end;


machs doch einfach so :)
Oder mach dir ne Variable mit dem Zeichen drin?!

MfG BungeeBug
TheNeon Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 408

Windows
VS2010 C#
BeitragVerfasst: Sa 17.05.03 15:19 
:shock: :? :roll:

tjoa, so einfach sollte es dann doch sein. Keine Ahnung was gerade in meinem Kopf vorging. Werde es mal mit einem Array versuchen, in dem ich die Zeichen speichere um sie leichter aufzurufen.

Thx :wink: