Autor Beitrag
StefanH
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1144

Win XP
D5 Standard, D7 Pers, D2005 Pers
BeitragVerfasst: Sa 31.05.03 16:22 
Hallo zusammen!
Ich möchte die Umlaute meines RichEdits abfangen und ersetzen.
Mit KEyDown und KeyPress krieg ich nur sowas raus("ü" ca 2Sek. gedrückt; "|" = Cursor):
uuuuuuuuuuuuuuuuuuuuuuuuü|eeeeeeeeeeeeeeeeeeeeee

oder sowas:
üüüüüüüüüüüüüüüüüüüüüüüüüüüüüüue|

Wie geht das besser?

Stefan

_________________
"Als es noch keine Computer gab, war das Programmieren noch relativ einfach."(Edsger W. Dijkstra)
"Ich bin nicht von Sinnen, sondern ich rede wahre und vernünftige Worte." (Paulus)
Moritz M.
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 1672



BeitragVerfasst: So 01.06.03 14:20 
Wie wäre es mit OnKeyDown?
StefanH Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1144

Win XP
D5 Standard, D7 Pers, D2005 Pers
BeitragVerfasst: So 01.06.03 15:06 
Onz hat folgendes geschrieben:
Wie wäre es mit OnKeyDown?

Ergebnis: ueü
(Nicht jetzt grad getest, müsste aber so sein...)

Stefan

_________________
"Als es noch keine Computer gab, war das Programmieren noch relativ einfach."(Edsger W. Dijkstra)
"Ich bin nicht von Sinnen, sondern ich rede wahre und vernünftige Worte." (Paulus)
AXMD
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 4006
Erhaltene Danke: 7

Windows 10 64 bit
C# (Visual Studio 2019 Express)
BeitragVerfasst: So 01.06.03 15:18 
Hi,

Zitat:
müsste aber so sein...
wieso? Normalerweise kann man ja über ein kleines Stück Quelltext alle ungewollten Zeichen rausschmeißen, oder irre ich mich?

AXMD
Tweafis
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 647

WinXP + fbsd
Delphi 5 Prof
BeitragVerfasst: So 01.06.03 15:20 
Lol,

Mach mal ne RichEdit und bei OnKeyDown nur Key:=0;


Das bringt gar nix Oo;

_________________
.: Es wird der Tag kommen, an dem wir es nicht mehr ändern können :.