Font property
Available for all objects except Image, HScroll, VScroll, ProgressBar, Slider, UpDown and Animate.
Read/Write only at design time (see REMARKS).
Specifies the font for an object and it may be any of the available fonts in Windows. This font will be used by the object in all functions and methods which need to draw text (i.e. Print or SetText methods).
REMARKS: Property Font
is only available at design
time. When getting and setting properties for an object's font at run
time, you should use the corresponding
methods (GetFontBold,
SetFontBold,
GetFontName,
SetFontName, etc.).
WARNING:
This property has no effect for control objects which
are inside a DialogBox
object, as they use the same font than their parent (see Dialog Boxes). Also, it may have no
effect for some controls when uthe new common
controls 6.0 are
used (see Enabling
XP themes).