FMX.Forms.TCommonCustomForm.NewFocusedControl
Delphi
function NewFocusedControl(const Value: IControl): IControl;
C++
Fmx::Types::_di_IControl __fastcall NewFocusedControl(const Fmx::Types::_di_IControl Value);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | FMX.Forms.pas FMX.Forms.hpp |
FMX.Forms | TCommonCustomForm |
Description
Retrieves the control that can obtain the focus.
NewFocusedControl checks whether the specified Value
control can obtain the focus. If Value
cannot obtain the focus, then NewFocusedControl returns the youngest parent of Value
that can obtain the focus. Otherwise, NewFocusedControl returns nil
.