Accesso rapido:  

Forum: VirtualDJ Plugins

Topic: Close Plugin GUI on unload

Questo argomento è obsoleto e potrebbe contenere informazioni obsolete o errate.

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
 

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

Inviato 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.
 

Inviato 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
 

Inviato 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
 

Inviato Tue 14 Feb 17 @ 5:16 pm


(Vecchi argomenti e forum sono automaticamente chiusi)