Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   GUI-Design mit VCL / FireMonkey / Common Controls (https://www.delphipraxis.net/18-gui-design-mit-vcl-firemonkey-common-controls/)
-   -   Delphi Welches Editfeld hat den Focus ? (https://www.delphipraxis.net/60352-welches-editfeld-hat-den-focus.html)

bioser 5. Jan 2006 17:27


Welches Editfeld hat den Focus ?
 
Hallo,

ich habe mehrere Editfelder auf einer GroupBox.
Jetzt brauche ich den Namen des Editfeldes, in
dem der Cursor gesetzt ist.
Ist das einfach zu realisieren ?

Danke.

GRUSS
BIOSER

marabu 5. Jan 2006 17:38

Re: Welches Editfeld hat den Focus ?
 
Hallo Bioser,

kennst du schon die Eigenschaft Form.ActiveControl?

Neujahrsgrüße vom marabu

bioser 5. Jan 2006 17:58

Re: Welches Editfeld hat den Focus ?
 
NEIN. Sonst hätte ich nicht danach gefragt.
Funktioniert super. DANKE ! :wink:


Alle Zeitangaben in WEZ +1. Es ist jetzt 22:26 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz