Vcl.Controls.TWinControl.ResetIme

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure ResetIme; overload; inline;
procedure ResetIme(hWnd: HWND); overload; virtual;

C++

void __fastcall ResetIme()/* overload */;
virtual void __fastcall ResetIme(HWND hWnd)/* overload */;

Properties

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

Description

Restores the input method editor (IME) that was active when the application started.

For controls that specify the ImeName property, call ResetIme to revert to the IME that was active when the application started. If the IME was deactivated by setting the ImeMode property to imDisable, ResetIme restarts the default IME.

Applications cannot call ResetIme. ResetIme is called automatically when the control loses input focus. It is exposed as a protected method so descendant objects can restore the default IME at other times.

See Also