RAD Studio VCL Reference
TWinControl.UpdateUIState Method

Updates form User Interface State as needed

procedure UpdateUIState(CharCode: Word);
__fastcall UpdateUIState(Word CharCode);

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. 


Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!