Anmelden:     


Forum: VirtualDJ Plugins

Topic: quick rundown on radio buttons
In the past I just used switches and made them radio like with logic.
how are they entangled correctly?

DeclareParameterRadio1(&r1, ID_RADIO_1, "R1", "R1", float);
DeclareParameterRadio2(&r2, ID_RADIO_2, "R2", "R2", float);
 

geposted Fri 29 Apr 22 @ 12:26 pm
Currently they act the same as a switch, so you have to check in OnParameter when one is activated that you disable the others. (And decide what to do when an attempt is made to turn one off)
 

I see thanks. And I thought I was being lazy/inefficient doing the logic myself, turns out that's how it's done.
 

Would indeed have made sense, but it's a leftover from the way it worked in vdj 7