1. Home
  2. Computing & Technology
  3. Delphi Programming
Zarko Gajic
Zarko's Delphi Programming Blog

By Zarko Gajic, About.com Guide to Delphi Programming

Display Bold Items in the TTreeView Delphi Control

Thursday June 25, 2009
TIPS :: By default (Windows drawing), all items (tree nodes) of a tree view share the same font styling. If you only want to apply *bold* to some tree items (their Captions), you can use a "special" TreeView API. Here's how to *bold* tree items in Delphi applications.

Comments

April 14, 2006 at 10:34 am
(1) fbaudoux says:

Thanks, it works OK. But I had a hard time to find out how to “toggle” from Bold to normal and normal to bold.

June 26, 2009 at 6:02 am
(2) Alain says:

Thanks, it works great with Delphi 2007 but with Delphi 7, I have to disable hottrack because I see bold on wrong lines when I move the mouse.

Leave a Comment

Line and paragraph breaks are automatic. Some HTML allowed: <a href="" title="">, <b>, <i>, <strike>

Explore Delphi Programming
About.com Special Features

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

Easy ways to connect two computers for networking purposes. More >

  1. Home
  2. Computing & Technology
  3. Delphi Programming

©2009 About.com, a part of The New York Times Company.

All rights reserved.