RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWinControl.UpdateUIState Method

Updates form User Interface State as needed

Pascal
procedure UpdateUIState(CharCode: Word);
C++
__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) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!