Login  Register

Re: Control of events in a macro?

Posted by Herbie-4 on May 06, 2015; 7:17pm
URL: http://imagej.273.s1.nabble.com/Control-of-events-in-a-macro-tp5012702p5012744.html

Pedro,

a not very elegant but feasible way is a second dialog that comes up if
a checkbox is checked/unchecked in the first dialog.

Just my two cents.

Best

Herbie

:::::::::::::::::::::::::::::::::::::::::::::
Am 06.05.15 um 20:07 schrieb Pedro J Camello:

> Dear Kees,
>
> you are right: for only two possible numbers that's the way. But what
> I was thinking of is to have a single dialogue box to decide: 1) to
> prune or not a stack (That´s the checkbox option purpose) 2) if prune
> is desired (Checkbox true) the user can select the interval;
> otherwise the number box should stay inactive
>
> Many thanks for your help
>
> Dear Curtis,
>
> thanks for your code, is a nice help.
>
> Pedr
>
> -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html