cancel
Showing results for 
Search instead for 
Did you mean: 

how to change bold for treeviewitem dynamically?

Former Member
0 Kudos

As there is no support to change color or size for treeviewitem lable, then I try to change Bold dynamically with following test code:

long ll_tvi_root

treeviewitem ltvi_current

ll_tvi_root = tv.Finditem ( RootTreeItem! , 0 )

tv_user.GetItem (ll_tvi_root , ltvi_current )

ltvi_current.Bold = true

Looks like not working. How to change Bold dynamically?

Accepted Solutions (1)

Accepted Solutions (1)

arnd_schmidt
Active Contributor
0 Kudos

Try

tv_user.SetItem ( ll_tvi_root , ltvi_current )

after the modifications.

hth

Arnd

Former Member
0 Kudos

it's working! thank you very much.

Answers (0)