Closed GoogleCodeExporter closed 8 years ago
This also causes an exception when you double click on the title bar to restore:
TypeError: Error #1009: Cannot access a property or method of a null object
reference.
at flexmdi.effects.effectsLib::MDIVistaEffects/getWindowRestoreEffect()
at flexmdi.managers::MDIManager/::windowEventProxy()
at
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunctio
n()
at flash.events::EventDispatcher/dispatchEvent()
at mx.core::UIComponent/dispatchEvent()
at flexmdi.containers::MDIWindow/maximizeRestore()
Attaching screen shot of the original error
Original comment by vince.ja...@gmail.com
on 3 Oct 2007 at 2:37
Attachments:
For the exception it caused because restoreTo function paramter in
getWindowRestoreEffect() is null. I fixed it by saving off the setting before
the
maximize is performed so in the maximize() function I call savePanel() which
should
avoid the null reference.
Original comment by vince.ja...@gmail.com
on 9 Oct 2007 at 6:46
I also worked around the original issue by bringing the window to the front in
the
maximize() function e.g. bringToFront();
Original comment by vince.ja...@gmail.com
on 9 Oct 2007 at 7:44
Original comment by ben.clin...@gmail.com
on 11 Jan 2008 at 3:58
Original issue reported on code.google.com by
vince.ja...@gmail.com
on 3 Oct 2007 at 2:33