Vcl.StdCtrls.TCustomCombo.Focused
Delphi
function Focused: Boolean; override;
C++
DYNAMIC bool __fastcall Focused();
Eigenschaften
Typ | Sichtbarkeit | Quelle | Unit | Übergeordnet |
---|---|---|---|---|
function | public | Vcl.StdCtrls.pas Vcl.StdCtrls.hpp |
Vcl.StdCtrls | TCustomCombo |
Beschreibung
Gibt an, ob das Kombinationsfeld den Eingabefokus hat.
Mit Focused können Sie feststellen, ob das Kombinationsfeld derzeit der Empfänger von Tastatureingaben ist. Wenn Focused true zurückgibt, ist das Kombinationsfeld das aktive Steuerelement und empfängt Tastenbotschaften. Wenn Focused false ist, ist das Kombinationsfeld nicht aktiv (obwohl es markiert sein kann).