FMX.Calendar.TCalendar.OnCanFocus
Delphi
property OnCanFocus: TCanFocusEvent read FOnCanFocus write FOnCanFocus;
C++
__property OnCanFocus;
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| event | published | FMX.Calendar.pas FMX.Calendar.hpp |
FMX.Calendar | TCalendar |
Description
Occurs when a control can receive focus. {{#multireplace:FMX.Calendar.TCalendar.OnCanFocus|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:FMX.Controls.TControl.OnCanFocus|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:FMX.Controls.TControl.OnCanFocus|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.
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.