RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TScreen.ResetFonts Method

Reinitializes the fonts listed in the Fonts property.

Pascal
procedure ResetFonts;
C++
__fastcall ResetFonts();

Call ResetFonts to ensure that the fonts listed in the Fonts property are up to date. ResetFonts reinitializes the Fonts property so that its value is reread from the operating system the next time it is needed.  

TScreen calls ResetFonts internally in response to messages from Windows that the available fonts have changed. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!