Ingreso rápido:  

Forum: VirtualDJ Plugins

Tema: Close Plugin GUI on unload

Este tópico es antiguo y puede contener información incorrecta para la nueva versión.

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
 

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

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

Mensajes 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
 

Mensajes 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
 

Mensajes Tue 14 Feb 17 @ 5:16 pm


(Los tópicos y foros antiguos son automáticamente cerrados)