![]() |
AW: Focuswechsel
Zitat:
|
AW: Focuswechsel
Diese beiden Methoden habe ich mal testhalber den 3 Controls zugewiesen:
Delphi-Quellcode:
Ist es das, was Du suchst?
procedure TFormTest.ListBox1Enter(Sender: TObject);
begin ListBox1.Visible := true; end; procedure TFormTest.ListBox1Exit(Sender: TObject); begin ListBox1.Visible := (ActiveControl = Edit1) or (ActiveControl = Edit2) or (ActiveControl = ListBox1); end; |
AW: Focuswechsel
Zitat:
Das war's. Manchmal ist die Lösung sooooooo einfach. |
Alle Zeitangaben in WEZ +1. Es ist jetzt 11:53 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz