Setting limits on xvalue inputs
Posted: Tue Feb 25, 2014 1:29 pm
I was wondering if you can set boundaries on the possible inputs to an xvalue field editor - for example I have
and I want the only possible values to be 0, 1, 2, 3.
Alternatively, if I instead write
Is there a way to display the selection beside the menu?
Thanks,
Annik
Code: Select all
location_paired = 0
xvalue("Location of Paired Synapses","location_paired", 1,"procedure()", 1, 1 )
Alternatively, if I instead write
Code: Select all
xmenu("Location of Paired Synapses")
xradiobutton("Soma", "procedure()")
xradiobutton("Proximal Dendrite", "procedure()")
xradiobutton("Middle Dendrite", "procedure()")
xradiobutton("Distal Dendrite", "procedure()")
xmenu()
Thanks,
Annik