by flashk » Fri Jan 03, 2014 5:48 pm
Hi,
I'm updating a plugin to work with 4.1 and ran across a small issue with persistent dockable panels. Within the OnStartup function of my auto script, I create a persistent dockable panel and perform certain initialization only if the panel is visible (i.e. Panel.Common.Visible). In 4.1, the Visible attribute is always true during startup, even if it was previously closed. However, after the startup function is called the Visible attribute is restored to the correct value. I don't recall having this issue with 4.0 and earlier, but I'm not sure exactly which version this problem started happening.
Let me know if you would like me to provide more information.
Hi,
I'm updating a plugin to work with 4.1 and ran across a small issue with persistent dockable panels. Within the [b]OnStartup[/b] function of my auto script, I create a persistent dockable panel and perform certain initialization only if the panel is visible (i.e. Panel.Common.Visible). In 4.1, the [b]Visible[/b] attribute is always true during startup, even if it was previously closed. However, after the startup function is called the [b]Visible[/b] attribute is restored to the correct value. I don't recall having this issue with 4.0 and earlier, but I'm not sure exactly which version this problem started happening.
Let me know if you would like me to provide more information.