The font used to render item text.

Usage

Set_Property(OLECtrlEntID, "OLE.ItemFont", FontArray)

Values

The FontArray structure uses the same formatting as the OpenInsight FONT property. Visit the Font common OLE property page for further documentation.

Default: Tahoma, 8 pt.

Remarks

The ItemFont property customizes the font used to draw items. By default, the font is defined by the current Theme. However, you can use this property to modify the font to suit your needs.

The Theme property will redefine this font whenever it changes. Therefore, set this property after setting the Theme property.

NOTE: You cannot set the font's weight using this property. This is by design. To make the font bold, you must use the ItemBold property.

Example

// Set the Item font to 12pt 
Set_Property(@Window:".OLE_SHORTCUT", "OLE.ItemFont", @SVM:12)

See Also

GroupFontFontItemBold

  • No labels