procedure UpdateUIState(CharCode: Word);
void __fastcall UpdateUIState(System::Word CharCode);
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.