FMX.DateTimeCtrls.TTimeEdit.OnKeyDown

From RAD Studio API Documentation

Delphi

property OnKeyDown: TKeyEvent read FOnKeyDown write FOnKeyDown;

C++

__property OnKeyDown;

Properties

Type Visibility Source Unit Parent
event published
FMX.DateTimeCtrls.pas
FMX.DateTimeCtrls.hpp
FMX.DateTimeCtrls TTimeEdit

Description

Occurs when a key is pressed while the control has focus. {{#multireplace:FMX.DateTimeCtrls.TTimeEdit.OnKeyDown|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:FMX.Controls.TControl.OnKeyDown|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.OnKeyDown|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.

Occurs when a key is pressed while the control has focus.

OnKeyDown is called from KeyDown methods of GUI components, for example, of controls and forms.

Write an event handler for OnKeyDown to specify what happens when a control or a form has the input focus and a key is pressed.

See Also