Error Removing a Child

0 views
Skip to first unread message

Varholl

unread,
Jun 22, 2008, 3:15:23 PM6/22/08
to EEGUI
Hi All,

I'm having a little problem when i try to remove a "window" from my
window manager. I have this

"Object reference not set to an instance of an object." error and i
can't figure out what's happening.
It seems to be everything fine, because a remove all childs one by one
before removing this object (by the way... RemoveAllChildren gives me
another err... thats why i remove all my guiobjects one by one)

Here is the stack of the error.. anyone could help me?

Thanks in Advance.

at EEGUI.guiScrollingWindow.ChangeParent(guiControlBase NewParent)
at
EEGUI.guiControlBase.ParentChangedEventHandler.Invoke(guiControlBase
NewParent)
at EEGUI.guiControlBase.set_Parent(guiControlBase value)
at EEGUI.guiControlBase.RemoveChild(guiControlBase OldChild)
at NokPrototype.GuiEngine.Windows.Mainwindow.LoginScreen_OnClose()
in D:\Desarrollo\VDG\Proyectos\Nokturna\Repositorio\Sources\Prototype
\SubProjects\GUIEngine\Controls\Windows\MainWindow.cs:line 97
at NokPrototype.GuiEngine.Menues.LoginMenu.Close() in D:\Desarrollo
\VDG\Proyectos\Nokturna\Repositorio\Sources\Prototype\SubProjects
\GUIEngine\Menues\LoginMenu.cs:line 177
at NokPrototype.GuiEngine.Menues.LoginMenu.btnLoginPressed(Int32 a)
in D:\Desarrollo\VDG\Proyectos\Nokturna\Repositorio\Sources\Prototype
\SubProjects\GUIEngine\Menues\LoginMenu.cs:line 135
at EEGUI.guiButton.Clicked(guiControlBase sender, MouseStates M,
GUIMouseButtons btn)
at EEGUI.guiControlBase.MouseDownLogic()
at EEGUI.GUICore.UpdateGUI()
at NokPrototype.GuiEngine.NokGuiProvider.NokGui.Update() in D:
\Desarrollo\VDG\Proyectos\Nokturna\Repositorio\Sources\Prototype
\SubProjects\GUIEngine\NokGuiProvider.NokGui.cs:line 113
at NokPrototype.GuiEngine.NokGuiProvider.Update() in D:\Desarrollo
\VDG\Proyectos\Nokturna\Repositorio\Sources\Prototype\SubProjects
\GUIEngine\NokGuiProvider.cs:line 74
at NokPrototype.GameManager.RenderLoop() in D:\Desarrollo\VDG
\Proyectos\Nokturna\Repositorio\Sources\Prototype\GameManager.cs:line
103
at NokPrototype.GameManager.StartGame() in D:\Desarrollo\VDG
\Proyectos\Nokturna\Repositorio\Sources\Prototype\GameManager.cs:line
21
at NokPrototype.frmMain.frmMain_Load(Object sender, EventArgs e) in
D:\Desarrollo\VDG\Proyectos\Nokturna\Repositorio\Sources\Prototype
\frmMain.cs:line 30
Reply all
Reply to author
Forward
0 new messages