Connexion rapide:  

Forum: VirtualDJ Skins

Sujet button rightclick...

Ce topic est ancien et peut contenir des informations obselètes ou incorrectes.

Can anyone give me a clue as too why this won't work?:

<button chan="1" action="load_filepath" rightclick="unload">
<pos x="229" y="175"/>
<size width="37" height="23"/>
<down x="+0" y="+768"/>
</button>

the load works, but not the unload.....


in the event that it is not obvious, i am trying to have a button that will load a selected song on the deck with a leftclick, and unload the deck with a right click....

thanks...
 

Posté Mon 20 Dec 10 @ 11:22 am

Try this:

<button action="deck 1 load_filepath" rightclick=" deck 1 unload">
<pos x="229" y="175"/>
<size width="37" height="23"/>
<down x="+0" y="+768"/>
</button>
 

Posté Mon 20 Dec 10 @ 11:28 am
quick response, thanks... but with that code, neither works...

in fact, i can't seem to get rightclick or dblclick to work on anything....
 

Posté Mon 20 Dec 10 @ 1:26 pm
i can get action="unload" to work as it's own button...

argh... sorry bout double post...
 

Posté Mon 20 Dec 10 @ 1:36 pm
that code should work... if you want to, send me your files and I can try to debug it for you.

my e-mail is on my blog
 

Posté Tue 21 Dec 10 @ 6:40 pm
This has been worked out. just a deeper thing in the "what version are you writing your code for" problem on other topics...
 

Posté Wed 19 Jan 11 @ 12:35 am
Yeah I just just re-read the thread and thought to myself "I wonder what version he's using"

Glad you got it.
 

Posté Wed 19 Jan 11 @ 3:47 am


(Les anciens sujets et forums sont automatiquement fermés)