Login  Register

Setting large numbers of parameters in a Dialog box?

Posted by Alan Hewat on Mar 26, 2010; 4:17pm
URL: http://imagej.273.s1.nabble.com/Setting-large-numbers-of-parameters-in-a-Dialog-box-tp3688773.html

I have a Tool button that when left-clicked executes an "action" and
when right-clicked brings up a dialog to set parameters for that
action. The problem is that I have so many parameters that the box
becomes larger than the screen :-) since apparently I need a new line
for each parameter ? (or is there a way to add several strings and
checkboxes on one line?)

Since some of the parameters will change frequently and some only
rarely, I thought to list only the frequent parameters in my dialog
but have some means (a button?) to bring up if required a second
dialog to change the rare parameters.

I don't want dialog boxes popping up whenever the user left-clicks the
action tool, and I don't really want to create a second tool button to
set the various parameters. Yes, I could test if the parameters had
been set when the action is performed, and if not, popup different
dialogs, but then how would I allow the user to reset parameters once
they were set (without popping up dialogs every time?)

To summarise, how do I construct dialogs to allow resetting many
parameters, but only when required, and in an unobtrusive way ?

Alan.
______________________________________________
Dr Alan Hewat, NeutronOptics, Grenoble, FRANCE
<[hidden email]> +33.476.98.41.68
        http://www.NeutronOptics.com/hewat
______________________________________________