Autor Beitrag
klezmor
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 558


delphi 6 personal delphi 2005 personal
BeitragVerfasst: Mo 21.03.05 15:00 
Hi Leute, ich habe ne Routine geschrieben, die sobald man bei nem editfenster auf enter drückt den string einliest, funktioniert auch. Aber während der Laufzeit komm sobald ich auf enter drücke immer das Klackgeräusch, jenes das auch kommt wenn man ein Fenster nicht schließen kann.
Weiß jemand wie ich das weg bekomme?
StefanH
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1144

Win XP
D5 Standard, D7 Pers, D2005 Pers
BeitragVerfasst: Mo 21.03.05 15:10 
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
procedure TForm1.Edit1KeyPress(...);
begin
 if Key = #13 then
   begin
      Key:= #0;
      ...
   end;
end;

so z.B. ... zum was-weiß-ich-weivielten mal.. :-/

_________________
"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)
klezmor Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 558


delphi 6 personal delphi 2005 personal
BeitragVerfasst: Mo 21.03.05 15:18 
Das Geräusch kommt leider immer noch.
F34r0fTh3D4rk
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 5285
Erhaltene Danke: 29

Win Vista (32), Win 7 (64)
Eclipse, SciTE, Lazarus
BeitragVerfasst: Mo 21.03.05 15:52 
dsa hatten wir hier schonmal, such einfach mal im forum :)
StefanH
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1144

Win XP
D5 Standard, D7 Pers, D2005 Pers
BeitragVerfasst: Mo 21.03.05 20:19 
user profile iconklezmor hat folgendes geschrieben:
Das Geräusch kommt leider immer noch.


bei mir gehts so.. und sonst findest du hier im DF imho auch nichts anderes :roll:

_________________
"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)
retnyg
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 2754

SNES, GB, GBA, CPC, A500, 486/66, P4/3.0HT: NintendOS, AmigaOS, DoS
Delphi 5, Delphi 7
BeitragVerfasst: Mo 21.03.05 20:31 
vermutlich verwendet er nicht das keypress, sonder das keydown ereignis

_________________
es gibt leute, die sind genetisch nicht zum programmieren geschaffen.
in der regel haben diese leute die regel...
matze.de
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 576

Win95, Win98 SE, WinXp Prof SP2
D7P, D8P, FPC2.0
BeitragVerfasst: Di 22.03.05 08:39 
user profile iconretnyg hat folgendes geschrieben:
vermutlich verwendet er nicht das keypress, sonder das keydown ereignis


das denk ich auch.

mfg matze

_________________
si tacuisses, philosophus mansisses.
klezmor Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 558


delphi 6 personal delphi 2005 personal
BeitragVerfasst: Do 24.03.05 12:29 
Habe das editKeydown ereignis in ein editKeyPress ereignis verändert, jetzt funktionierts danke.