Autor Beitrag
maxk
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1696
Erhaltene Danke: 1

Win XP, Debian Lenny
Delphi 6 Personal
BeitragVerfasst: So 29.09.02 16:05 
Hi,
gibt man in ein TEdit-Feld den ASCII-Code 5 via "ALT+5" ein, erscheint im Edit-Feld ein Fragezeichen (#63) und wird vom Programm auch als solches erkannt. Ich suche eine Edit-Feld, dass bei einer Eingabe wie "ALT+5" als Text #5 enthält. Ist jemandem ein solches bekannt?

Gruß,
maxk

_________________
Ein Computer wird das tun, was Du programmierst - nicht das, was Du willst.
tommie-lie
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 4373

Ubuntu 7.10 "Gutsy Gibbon"

BeitragVerfasst: So 29.09.02 16:09 
was hast du denn da für ein TEdit genommen?
Wenn ich auf meine Form ein edit-Feld mache und dann mit alt-5 da was rinzumachen passiert bei mir gar nichts. Ich nutze dabei Win98SE und da gibt's doch eigentlich schon ASCII-Codes, oder? *G*
Es scheint also an irgendwelchen Einstellungen bei dir zu liegen. Aber ausgelesen habe ich mein Edit nicht, also weiß ich nicht was der String dann enthält. Aber das Editfeld enthält auf jeden Fall kein Fragezeichen...

Tschüß
Thomas

_________________
Your computer is designed to become slower and more unreliable over time, so you have to upgrade. But if you'd like some false hope, I can tell you how to defragment your disk. - Dilbert
maxk Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1696
Erhaltene Danke: 1

Win XP, Debian Lenny
Delphi 6 Personal
BeitragVerfasst: So 29.09.02 16:11 
Ich verwende WinXP Home Edition. Aber gibt's denn net irgendeine Komponente, die aussieht wie ein Editfeld, arbeitet wie ein Editfeld aber doch noch ein bisschen mehr kann?

_________________
Ein Computer wird das tun, was Du programmierst - nicht das, was Du willst.
tommie-lie
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 4373

Ubuntu 7.10 "Gutsy Gibbon"

BeitragVerfasst: So 29.09.02 18:12 
vermutlich gibt es sowas.
Aber ich finde das beweist nur wieder den Forttschritt bei MS, der in Wirklichkeit Rückschritt bedeutet, wenn sie dem Anwender Funktionen verwehren, die seit Jahr(zehnt)en Standard sind (ASCII). Versuch's mal mit DOS, dann klappt's ;-)

_________________
Your computer is designed to become slower and more unreliable over time, so you have to upgrade. But if you'd like some false hope, I can tell you how to defragment your disk. - Dilbert