How to lock down a TreeView?

PuddinPie

Registered User.
Local time
Yesterday, 23:29
Joined
Sep 15, 2010
Messages
149
Hello,

I have a TreeView in a, Access 2007, form and I need to figure out a way of locking it down so that the nodes that get listed cannot be edited.
I've tried disabling it but then the on node click event will not work because it can't select anything.

If you click on a node and then long click on it again you are able to change what it says. When you close and re-open the form it reverts back to the correct node name. I've had it attached to tables and queries as well.

Anyone have any ideas.
 
Try setting the Treeview's LabelEdit property to tvwManual. You can also do this in design view if you right click on the control, open the ActiveX property sheet, and on the General tab set the LabelEdit property.
Cheers,
Mark
 
Thank you. For some reason I thought I had tryed that but I guess not because it's working correctly now.
 

Users who are viewing this thread

Back
Top Bottom