Problems formatting MS Treeview control
I've been able to populate the MS Treeview control properly, but I'm having trouble getting it to look the way I want.
The treeview control is placed inside a table, and I would like the text of the nodes to wrap around if it is too long. I've tried doing this by setting the width of the treeeview, which didn't work. Setting the width of the node will only cut off the text, rather than have it wrap around.
Also, I'm having problems setting the indent spacing of the nodes (TreeView.Indent) programattically. Setting the property doesn't seem to do anything, but other properties that I set in the same method seem to work fine.
Has anyone had any luck doing what I'm trying? Thanks.
|