This is a
complete guess, but how about something like....
TreeNode tnForms;
TreeNode tnA;
TreeNode tnB;
tnForms = tree node for "Forms" parent
node
tnA = tree node for Form A
tnB = tree node for Form B
tnB.AOTdelete();
tnForms.AOTinsert(tnB, tnA);
I've no idea
if that will actually work as is, but it might be the basis of something. There
don't appear to be any "move" methods on the TreeNode class so I'm guessing it
must be doing something like this when you perform this operation
interactively.
Good
luck!
Malcolm
Burtt
Global IT
Group.
-----Original Message-----Hi all,
From: byteway_so [mailto:[EMAIL PROTECTED]
Sent: 27 April 2004 13:59
To: [EMAIL PROTECTED]
Subject: [development-axapta] Move items
Does anyone know how I can move items in the AOT programmatically?
And I mean: not to change the items with drag or drop.
example:
[forms node]
form b
form a
After moving, it will be:
[forms node]
form a
form b
Thanks,
/b
Yahoo! Groups Links
- To visit your group on the web, go to:
http://groups.yahoo.com/group/development-axapta/
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

