-
CustomCommand and DockableControl
Posted by Piet Heyn on June 10, 2008 at 10:18 amHello,
I followed the example in the Vegas Pro Scripting FAQ to make a custom command as a dockable control.
Everything works well but I was wondering how I could make the window dock the moment you open it from the menu. As it is now the window will start out as undocked and then I have to dock it myself.
thanks for you time,
Piet
Piet Heyn replied 18 years, 3 months ago 2 Members · 6 Replies -
6 Replies
-
Edward Troxel
June 10, 2008 at 2:32 pm -
Piet Heyn
June 10, 2008 at 7:23 pmHello Edward,
Thanks for your answer. I added dockView.DefaultDockWindowStyle = DockWindowStyle.Docked; and now the control is docked. Thanks a lot!
Do you happen to know how I can make the docked window appear at a certain position in the Explorer/Project Media/Transitions/Effects/etc window (what is that window called actually?). I now always appears as the first tab.
-
Edward Troxel
June 11, 2008 at 1:18 pm -
Edward Troxel
June 11, 2008 at 1:19 pm -
Piet Heyn
June 11, 2008 at 6:50 pmBut my control is not automatically started, I have to open it from the menu everytime I start Vegas. How can I make it autostart as you said?
-
Piet Heyn
June 11, 2008 at 7:16 pmOk, I think the autostart problem is fixed now. I added AutoLoadCommand to the DockableControl initialisation and now the control is there again when I restart Vegas.
Thanks a lot for your help Edward.
regards,
Piet
Reply to this Discussion! Login or Sign Up
