Vcl.Controls.TWinControl.UpdateUIState

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure UpdateUIState(CharCode: Word);

C++

void __fastcall UpdateUIState(System::Word CharCode);

Properties

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

Description

Updates form User Interface State as needed

UpdateUIState is called in component code to ensure that the User Interface State is consistently updated. User Interface State determinates whether keyboard accelerators and focus indicators are hidden or shown. A control should call UpdateUIState whenever it receives a keyboard event that might invalidate the User Interface State. CharCode is the virtual key code of the keyboard event.