Quick Sign In:  

Forum: VirtualDJ Plugins

Topic: Close Plugin GUI on unload

This topic is old and might contain outdated or incorrect information.

I noticed there is an onload event. Is there an unload event if I don't want to use the stop event to unload the plugin GUI?


This following code works on OnStop()

SendCommand("effect_show_gui off");



Would be nice to Show GUI onload
and Hide GUI on unload
 

Posted Mon 13 Feb 17 @ 12:59 am
locoDogPRO InfinityModeratorMember since 2013
there is a OnStart event
 

Posted Mon 13 Feb 17 @ 5:45 am
AdionPRO InfinityCTOMember since 2006
And there is Release when the plugin is unloaded, but the plugin is not unloaded as long as the gui is open.
 

Posted Mon 13 Feb 17 @ 6:02 am
@Loco, Thanks I saw that and have that figured out.
@Adion, I saw that too but since it's named Release and not OnRelease, I thought it was a VDJ system event which released variables when run and didn't think it got called at the right moment. From what you said it seems now impossible to force turn off the Effect's GUI (docked in Browser) when the user clicks on a different effect. Sigh......

TY
 

Posted Tue 14 Feb 17 @ 12:49 pm
locoDogPRO InfinityModeratorMember since 2013
If the user clicks another fx the your fx is no longer on a fx slot...
That should be doable
 

Posted Tue 14 Feb 17 @ 5:16 pm


(Old topics and forums are automatically closed)