on 03-20-2007 8:22 AM
Hi Experts,
I need to move the node from one tab to another based upon some conditions. After moving it to another, the first tab node must be removed. can any one help me by providing code.
Regards,
Guru
Hi Kumara Guru,
Try something like this:
IPrivate<View Name>.I<node name>Node node = wdContext.node<node name>;
IPrivate<View Name>.I<node name>Element elem;
for (int i=node.size()-1; i>=0; i--) {
wdContext.node<Node Name>.setLeadSelection(i);
elem = wdContext.current<node Name>Element;
node.removeElement(elem);
}
Omri
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.