In a tree view, the items can have additional properties: Bold, HasChildren, Level and Expanded.

This command makes the caption of the current item bold:

     set com(#trvw_1.CurrentItem) Bold(True)