ListBar.ButtonFontSource

Syntax

ListBar.ButtonFontSource

Data Type

FontSources

Use the following constants with this data type:

  • FontSource_UseContainerFont –(Value: 2) The font the container supplies.
  • FontSource_UseFontProperty –(Value: 0) A corresponding Font property of the control determines the font.
  • FontSource_UseGUIFont –(Value: 1) The default system font for user interface objects.
  • FontSource_UseIconFont –(Value: 5) The system font for an icon title.
  • FontSource_UseInactiveTitlebarFont –(Value: 4) The system font for an inactive titlebar.
  • FontSource_UseMenuFont –(Value: 6) The system font for a menu.
  • FontSource_UseMessageBoxFont –(Value: 7) The system font for a message box.
  • FontSource_UsePaletteTitleFont –(Value: 8) The system font for the title of a Tools window.
  • FontSource_UseSelectedItemsFont –(Value: 9) The system font for the selected menu items.
  • FontSource_UseSystemFixedWidthFont –(Value: 11) The system font for monospaced text.
  • FontSource_UseTitlebarFont –(Value: 3) The system font for a title bar.
  • FontSource_UseToolTipFont –(Value: 10) The system font for tooltips and status bars.
  • FontSource_UseUIStyleFont –(Value: 12) The font the UIStyle object supplies.

Purpose

Specifies the font the control uses. The default value for this property is FontSource_UseGUIFont .

Remarks

When the value of this property is FontSource_UseFontProperty , the corresponding Font property specifies the particular font the control uses. Otherwise, the control uses the font from the source this property specifies. Refer to the FontSources enumeration for the list of valid font sources.

Set this property to a value other than FontSource_UseFontProperty if you expect the font the ListBar.ButtonFont property specifies to not be present on a computer at run time. For example, a font present on an English version of the Microsoft Windows operating system might not be present on a Japanese version of the Windows operating system.

See Also

FontSources

ListBar.ButtonFont