Default font for new items.

Usage

Set_Property(OLECtrlEntID, "OLE.DefFont", 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 DefFont property establishes the default font for new items. Setting this property will not change existing items. Instead, newly added items will take on the setting established in this property. See the ItemFont property for details.

For more information on how default properties can make you more efficient, see the Default Properties article.

Example

// Use the Arial font for all new items 
Set_Property(@Window:".OLE_TREE", "OLE.DefFont", "Arial")

See Also

ItemFont

  • No labels