JCL Help:SetObjectFontToSystemFont@TObject@TFontType

From Project JEDI Wiki
Jump to navigationJump to search


Summary

This procedure sets the font of an object to the proper font based on the object type and the Windows operation system version.


Pascal

 procedure SetObjectFontToSystemFont(const AObject: TObject; const FontType: TFontType = ftAuto);


Parameters

Parameters Description
const AObject: TObject The object which font is to be changed.
const FontType: TFontType = ftAuto The font type. It is set to ftAuto by default.


Description

Almost each Windows operating system version comes with a different font set applicable to various UI objects. The SetObjectFontToSystemFont procedure enables support of multiple Windows operating system versions while setting font type to the correct "style".


See Also

TFontType


About

Unit

JclFont


Donator

Jean-Fabien Connault


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page