Bold
Bold
Turns on/off the use of a bold font
Boolean property
Applies to: Font Object
Bold
Set to indicate item has bold text
Runtime-only Bool property
Applies to: TreeItem
Introduced in KCML version 5.03
If set to TRUE, the associated font set will use a bold font. For example, the following could be used to change the font specified by the dlgfont1 font set to a bold font:
.dlgfont1.bold = TRUE
and to return the current setting the following could be used:
Type = .dlgfont1.bold
TreeItem
This boolean property, if set TRUE, will render the text label for the node in a bold font. The property can be applied to either an object reference to an existing tree node or the Item() method and the existing node's index.
.treeControl1.Item(NodeIndex).Bold = TRUE
or to set all the labels in the level below the current node to bold
OBJECT node = node.Child WHILE (OBJECT node <> NULL) node.Bold = TRUE OBJECT node = node.Next WEND