FMX.Controls.TControl.OnCanFocus

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnCanFocus: TCanFocusEvent read FOnCanFocus write FOnCanFocus;

C++

__property Fmx::Types::TCanFocusEvent OnCanFocus = {read=FOnCanFocus, write=FOnCanFocus};

Properties

Type Visibility Source Unit Parent
event public
FMX.Controls.pas
FMX.Controls.hpp
FMX.Controls TControl

Description

Occurs when a control can receive focus.

SetFocus is an event handler for OnCanFocus.

Write an event handler for OnCanFocus to customize the behavior when the control receives focus.

See Also