Ingreso rápido:  

Forum: VirtualDJ Plugins

Tema: quick rundown on radio buttons
locoDogPRO InfinityModeratorMember since 2013
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);
 

Mensajes Fri 29 Apr 22 @ 12:26 pm
AdionPRO InfinityCTOMember since 2006
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)
 

Mensajes Fri 29 Apr 22 @ 12:53 pm
locoDogPRO InfinityModeratorMember since 2013
I see thanks. And I thought I was being lazy/inefficient doing the logic myself, turns out that's how it's done.
 

Mensajes Fri 29 Apr 22 @ 2:04 pm
AdionPRO InfinityCTOMember since 2006
Would indeed have made sense, but it's a leftover from the way it worked in vdj 7
 

Mensajes Fri 29 Apr 22 @ 2:24 pm