Autor Beitrag
schitho
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 288

XP Home SP2
D2005 Prof
BeitragVerfasst: Fr 28.05.04 20:25 
Hi,

wie kann ich feststellen, welche Element gerade den Focus hat, ohne dass ich dabei jedes Element mit Edit1.Focused=True und RichEdit1.Focused=true etc. abfrage.

Gibt es da eine einfacher Möglichkeit?

Gruß
Thomas

_________________
(Sorry! Leider ewiger Delphi-Neuling)
Christian S.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 20451
Erhaltene Danke: 2264

Win 10
C# (VS 2019)
BeitragVerfasst: Fr 28.05.04 21:16 
Hallo!

Form1.ActiveControl sollte Dir helfen.

MfG
Peter

_________________
Zwei Worte werden Dir im Leben viele Türen öffnen - "ziehen" und "drücken".