Is it possible to make pCell parameters have radio-button or check-box or drop-down menu?

I think this would be useful for selecting predefined values.

Comments

  • Hi,

    checkbox and drop-down menu is already there:

      # A checkbox is a boolean value:
      param(:ab, TypeBoolean, "A bool")
      # Every parameter can be given a "choice" (a list of description/value pairs). 
      # This will make it become displayed as drop-down menu.
      param(:ac, TypeInt, "A choice", :choices => [ [ "Choice A", 1 ], [ "Choice B", 2 ] ])
    

    Matthias

Sign In or Register to comment.