Language Reference Guide : 4. System Classes : TreeNode Class : SelIsBold Attribute
 
Share this page                  
SelIsBold Attribute
Data Type: integer
4GL Access: RW
If SelIsBold is TRUE, then the node's TextLabel is bold whenever the node is selected. If SelIsBold is FALSE but the TreeviewField's SelIsBold is TRUE, the TextLabel is still made bold whenever the node is selected. Both attributes are ignored when the node is not selected.
If neither attribute is set, the node’s TextLabel may still be bold if either the TreeNode’s or the TreeviewField’s IsBold attribute is set to TRUE.
The default value for SelIsBold is FALSE.
Note:   
If any SelIsBold or IsBold attribute has a value of FALSE, it is treated as being unset and is ignored.
SelIsBold attributes are applied only if the node is selected and the IsBold attributes are not set.
When the TreeviewField attribute IsBold is set (TRUE), all related attributes are ignored; the TextLabel is bold. If it is not set, but TreeNode IsBold is set, the other related attributes are ignored (TreeNode.SelIsBold and TreeviewField.SelIsBold); the TextLabel is bold.
In principle, TreeviewField settings take precedence over TreeNode settings, but this has no significance in practice (see table).
SelIsBold
IsBold
TextLabel Appearance
TreeviewField
TreeNode
TreeviewField
TreeNode
If node is selected:
SET
ignored
ignored
ignored
bold
not set
SET
ignored
ignored
bold
ignored
ignored
SET
ignored
bold
ignored
ignored
not set
SET
bold
not set
not set
not set
not set
plain
TreeviewField
TreeNode
TreeviewField
TreeNode
If node is unselected:
ignored
ignored
SET
ignored
bold
ignored
ignored
not set
SET
bold
ignored
ignored
not set
not set
plain