Autor Beitrag
forcedbydelphi
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 16



BeitragVerfasst: Sa 08.01.11 15:11 
Hi Leute, könnt ihr mir sagen, wie ich es hinkriege, dass die Ascii codes 0-255 onClick in eine Listbox kriege??
elundril
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 3747
Erhaltene Danke: 123

Windows Vista, Ubuntu
Delphi 7 PE "Codename: Aurora", Eclipse Ganymede
BeitragVerfasst: Sa 08.01.11 15:15 
mit einer schleife und dem befehl chr(). ;) dabei solltest du aber beachten das nicht alle zeichen darstellbar sind.

lg elundril

_________________
This Signature-Space is intentionally left blank.
Bei Beschwerden, bitte den Beschwerdebutton (gekennzeichnet mit PN) verwenden.
forcedbydelphi Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 16



BeitragVerfasst: Sa 08.01.11 16:00 
alles klar, ich versuchs mal
forcedbydelphi Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 16



BeitragVerfasst: Sa 08.01.11 17:51 
geht ja garnichts hier :D
more help pls
elundril
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 3747
Erhaltene Danke: 123

Windows Vista, Ubuntu
Delphi 7 PE "Codename: Aurora", Eclipse Ganymede
BeitragVerfasst: Sa 08.01.11 17:55 
Wow, das ist mal ne tolle Beschreibung was nicht geht... :roll:

Was geht denn nicht? Wie lautet dein bisheriger Quelltext? Gibt's Fehlermeldungen (Vor allem welche)?

Ich mein, du gehst ja auch ned ohne auto zum mechaniker und und sagst einfach nur "Auto kaputt. Reparier es!", oder?

lg elundril

_________________
This Signature-Space is intentionally left blank.
Bei Beschwerden, bitte den Beschwerdebutton (gekennzeichnet mit PN) verwenden.
Tranx
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 648
Erhaltene Danke: 85

WIN 2000, WIN XP
D5 Prof
BeitragVerfasst: Sa 08.01.11 18:04 
Versuche es doch mal damit:

ausblenden Delphi-Quelltext
1:
2:
3:
  ListBox.Items.Clear;
  for c = #32 to #255 do
    Listbox.Items.Add(c);


Die Zeichen #0 bis #31 sind eh nicht darstellbar.

Allerdings eine Frage, was meinst Du mit Onclick? Soll auf die Onclick-Prozedur eines Buttons etc. diese Liste erzeugt werden?

_________________
Toleranz ist eine Grundvoraussetzung für das Leben.