[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'StdCtrls' (#lcl)

TCustomComboBox.KeyPress

KeyPress adjusts character case if necessary then calls inherited method

Declaration

Source position: stdctrls.pp line 347

protected procedure TCustomComboBox.KeyPress(

  var Key: Char

); override;

Description

KeyPress adjusts character case if necessary then calls inherited method

The inherited method provides software emulation of the OnKeyPress event, which acts when a key is pressed.

The OnKeyPress event handler is usually provided by the application programmer as a specific action to be performed when the event occurs; it often contains a case statement or similar choice structure to divert execution along specific pathways in response to pressing different keys

See also

TWinControl.KeyPress

  

KeyPress - simulates the action of pressing the specified key

The latest version of this document can be found at lazarus-ccr.sourceforge.net.