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
there is a OnStart event
 

And there is Release when the plugin is unloaded, but the plugin is not unloaded as long as the gui is open.
 

@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
 

If the user clicks another fx the your fx is no longer on a fx slot...
That should be doable
 



(Old topics and forums are automatically closed)