Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

how to change bold for treeviewitem dynamically?

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?

Former Member
replied

Try

tv_user.SetItem ( ll_tvi_root , ltvi_current )

after the modifications.

hth

Arnd

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question