Vcl.Controls.TWinControl.OnKeyUp

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnKeyUp: TKeyEvent read FOnKeyUp write FOnKeyUp;

C++

__property TKeyEvent OnKeyUp = {read=FOnKeyUp, write=FOnKeyUp};

Properties

Type Visibility Source Unit Parent
event protected
Vcl.Controls.pas
Vcl.Controls.hpp
Vcl.Controls TWinControl

Description

Occurs when the user releases a key that was pressed.

Use the OnKeyUp event handler to provide special processing that occurs when a key is released. The OnKeyUp handler can respond to all keyboard keys, keys that represent characters, function keys, and keys combined with the SHIFT, ALT, and CTRL keys.

If Key is set to #0, any further processing of the OnKeyUp event will be prevented.

OnKeyUp is an event handler of type Vcl.Controls.TKeyEvent. See TKeyEvent for a description of the parameters.

See Also

Code Examples