FMX.StdCtrls.TScrollBar.OnKeyDown

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnKeyDown: TKeyEvent read FOnKeyDown write FOnKeyDown;

C++

__property OnKeyDown;

Properties

Type Visibility Source Unit Parent
event published
FMX.StdCtrls.pas
FMX.StdCtrls.hpp
FMX.StdCtrls TScrollBar

Description

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

FMX.StdCtrls.TScrollBar.OnKeyDown inherits from FMX.Controls.TControl.OnKeyDown. All content below this line refers to FMX.Controls.TControl.OnKeyDown.

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