Autor Beitrag
delphijanka
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 151

WinXP
D 2009 Arc., Java, C
BeitragVerfasst: Fr 28.08.09 11:34 
Hallo. Hier ein Problem:

Beim Verlassen eines Edits lasse ich das Verlassen des Felder nicht zu, indem ich bei OnExit wieder SetFocus aufrufe.
Jedoch möchte ich wissen, wohin der Benutzer geklickt hat.

Wie kann ich das herausfinden?

Vielen Dank.
DeddyH
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Fr 28.08.09 11:51 
Das sollte doch im Sender-Parameter stehen, oder irre ich mich?
delphijanka Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 151

WinXP
D 2009 Arc., Java, C
BeitragVerfasst: Fr 28.08.09 12:05 
Nein, Sender ist TEdit selbst, indem OnExit-Ereignis aufgerufen wurde.
Lannes
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 2352
Erhaltene Danke: 4

Win XP, 95, 3.11, IE6
D3 Prof, D4 Standard, D2005 PE, TurboDelphi, Lazarus, D2010
BeitragVerfasst: Fr 28.08.09 12:34 
Hallo,

das liefert Dir ActiveControl.

_________________
MfG Lannes
(Nichts ist nicht Nichts) and ('' <> nil ) and (Pointer('') = nil ) and (@('') <> nil )
delphijanka Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 151

WinXP
D 2009 Arc., Java, C
BeitragVerfasst: Fr 28.08.09 12:55 
Vielen Dank, Lannes, es klappt.