Code Snippets Database
Control Box
Requested snippet
This page displays the requested SetDefaultFont snippet.
You can choose a category, perform a search or generate a Pascal unit containing the snippet by using the Control Box.
- SetDefaultFont
-
Sets a font to the default GUI font for the operating system.
procedure SetDefaultFont(const AFont: Graphics.TFont); begin AFont.Handle := Windows.GetStockObject(Windows.DEFAULT_GUI_FONT); end;
Kind of Snippet: RoutineRequired units: Windows, Graphics.Required snippets: None.See also: SetDesktopIconFont.Supported Compilers:D2 D3 D4 D5 D6 D7 D2005
(Win32)D2006
(Win32)D2007 D2009
(Win32)D2010
(Win32)Free
Pascal










From Bill Miller's snippets collection.
