ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Setting the Symbol Index on a Tree Control

Im trying to set the Symbol Index on a node of a Tree control. Each time I do so LabVIEW returns error 1135. As far as I can see, my code is identical to that given in the example given here: http://digital.ni.com/public.nsf/allkb/89A75D98771F2FB686256F350055EB3A.
 
I don't even want anything fancy like custom symbols: just the stock ones will do.
 
Anyone got any ideas?
 
0 Kudos
Message 1 of 2
(3,547 Views)
Hi,
 
Are you setting the 'active item' before trying to do this? There is another forum where a user has the same error which is explained by not having the active item set before trying to access properties of a tree item. - the selected (highlighted) item is not necessarily the active item, this has to be set manually.
 
 
Take a look at the suggestions here and see if this solves the problem. If not then can you post your code so I can see whether there is something missing.
 
Hope this helps
 
Hannah
NIUK & Ireland
Message 2 of 2
(3,536 Views)