Accesso rapido:  

Forum: VirtualDJ Skins

Topic: Conditional syntax

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

GianVJPRO InfinityMember since 2012
Hello, I have a problem with this syntax:

<button Class="minicues" action="toggle '$Deck1_SV'" rightclick="Var '@$Deck1_SV' 0 ? set '$Deck1_SV' 1 & set '$Deck2_SV' 1 & set '$Deck3_SV' 1 & set '$Deck4_SV' 1 : set '$Deck1_SV' 0 & set '$Deck2_SV' 0 & set '$Deck3_SV' 0 & set '$Deck4_SV' 0">
<pos x="+712" y="+64"/>
<text dx="1" size="15" color="#70EE70" format="TEST"/>
</button>

The "action" work as expected, but "rightclick" work only in one direction: what's wrong ?

Thank You in advance for attention.
 

Inviato Wed 09 Sep 15 @ 8:20 am
Try to use var_equal

rightclick="var_equal '@$Deck1_SV' 0 ? set '$Deck1_SV' 1 & set '$Deck2_SV' 1 & set '$Deck3_SV' 1 & set '$Deck4_SV' 1 : set '$Deck1_SV' 0 & set '$Deck2_SV' 0 & set '$Deck3_SV' 0 & set '$Deck4_SV' 0"


Edit:

Actually your issue is that you use two different variables
@$Deck1_SV is different than $Deck1_SV
 

Inviato Wed 09 Sep 15 @ 9:01 am
GianVJPRO InfinityMember since 2012
Argh ... my distraction.

Excuse me and Thank You very much.


 

Inviato Wed 09 Sep 15 @ 9:44 am


(Vecchi argomenti e forum sono automaticamente chiusi)