I have recently added a GoCollapsibleHandle to the GoIconicNodes in my application. I would like for subtrees to be moved/copied only when collapsed (not visible).
Well, TreeApp does both behaviors, it’s just based on the checkbox at the top instead of the state of the node…
I understand that and I’ve seen this behavior in the TreeApp sample. I used the code in TreeApp as an example for some of the things I tried to implement in my application.
Have you set GoToolDragging.CopiesEffectiveSelection to true?
Thanks Walter. That was my problem and setting it to true does fix the issue for drag-copy.
I have a similar issue for clipboard copying. Since this isn’t a dragging action it doesn’t involve the drag tool. If I want the subtree copied for a collapsed node, should I handle this in GoView.CopyFromClipboard()?
TreeApp shows you how to handle both of those choices too.