Quick Sign In:  

Forum: VirtualDJ Skins

Topic: button rightclick...

This topic is old and might contain outdated or incorrect information.

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

Posted 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>
 

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

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

argh... sorry bout double post...
 

Posted 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
 

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

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

Posted Wed 19 Jan 11 @ 3:47 am


(Old topics and forums are automatically closed)