FMX.Forms.TCommonCustomForm.NewFocusedControl

De RAD Studio API Documentation
Aller à : navigation, rechercher

Delphi

function NewFocusedControl(const Value: IControl): IControl;

C++

Fmx::Types::_di_IControl __fastcall NewFocusedControl(const Fmx::Types::_di_IControl Value);

Propriétés

Type Visibilité  Source Unité  Parent
function protected
FMX.Forms.pas
FMX.Forms.hpp
FMX.Forms TCommonCustomForm


Description

Récupère le contrôle qui peut obtenir la focalisation.

NewFocusedControl vérifie si le contrôle Value spécifié peut obtenir la focalisation. Si Value ne peut pas obtenir la focalisation, alors NewFocusedControl renvoie le parent le plus jeune de Value pouvant obtenir la focalisation. Sinon, NewFocusedControl renvoie nil.

Voir aussi