danward79
December 13th, 2005, 10:32 PM
Hi Ben,
Just tried to bring a button to the front. It was in a frame containing to buttons. I selected it using the mouse and then right clicked and selected Bring to front. It gave me the following.
************** Exception Text **************
System.ArgumentException: Cannot add or insert the item 'New Button' in more than one place. You must first remove it from its current location or clone it.
Parameter name: node
at System.Windows.Forms.TreeNodeCollection.Insert(Int 32 index, TreeNode node)
at com.promixis.Commands.ElementZOrderChange.Execute( NRIEditorControl parent)
at com.promixis.Commands.CompoundCommand.Execute(NRIE ditorControl parent)
at com.promixis.Commands.CommandHistory.Execute(Comma ndInterface command)
at com.promixis.Controls.NRIEditorControl.BringElemen tsToFront()
at com.promixis.Controls.RenderControl.contextBringTo Front_Activate(Object sender, EventArgs e)
at TD.SandBar.ButtonItemBase.OnActivate()
at TD.SandBar.k.b(TopLevelMenuItemBase A_0, Boolean A_1, Boolean A_2, Point A_3)
at TD.SandBar.TopLevelMenuItemBase.a(Control A_0, Point A_1, Boolean A_2)
at TD.SandBar.TopLevelMenuItemBase.Show(Control control, Point position)
at com.promixis.Controls.RenderControl.OnMouseUp(Mous eEventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Mes sage& m)
at System.Windows.Forms.ContainerControl.WndProc(Mess age& m)
at System.Windows.Forms.UserControl.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage (Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(M essage& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
That is using todays beta. B12.
Just tried to bring a button to the front. It was in a frame containing to buttons. I selected it using the mouse and then right clicked and selected Bring to front. It gave me the following.
************** Exception Text **************
System.ArgumentException: Cannot add or insert the item 'New Button' in more than one place. You must first remove it from its current location or clone it.
Parameter name: node
at System.Windows.Forms.TreeNodeCollection.Insert(Int 32 index, TreeNode node)
at com.promixis.Commands.ElementZOrderChange.Execute( NRIEditorControl parent)
at com.promixis.Commands.CompoundCommand.Execute(NRIE ditorControl parent)
at com.promixis.Commands.CommandHistory.Execute(Comma ndInterface command)
at com.promixis.Controls.NRIEditorControl.BringElemen tsToFront()
at com.promixis.Controls.RenderControl.contextBringTo Front_Activate(Object sender, EventArgs e)
at TD.SandBar.ButtonItemBase.OnActivate()
at TD.SandBar.k.b(TopLevelMenuItemBase A_0, Boolean A_1, Boolean A_2, Point A_3)
at TD.SandBar.TopLevelMenuItemBase.a(Control A_0, Point A_1, Boolean A_2)
at TD.SandBar.TopLevelMenuItemBase.Show(Control control, Point position)
at com.promixis.Controls.RenderControl.OnMouseUp(Mous eEventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Mes sage& m)
at System.Windows.Forms.ContainerControl.WndProc(Mess age& m)
at System.Windows.Forms.UserControl.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage (Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(M essage& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
That is using todays beta. B12.