Posted by
Joachim Wesner on
Mar 14, 2009; 10:27am
URL: http://imagej.273.s1.nabble.com/cell-by-cell-local-thickness-tp3693294p3693302.html
Hi list,
I already noticed some time ago, that the GenericDialog seemingly always
puts the initial input focus on th first "Numeric field", not on the "top
element" in the dialog. This happens
even if this input field is "disabled" via a DialogListener due to another
checkbox option. This causes some confusion for the user of my plugin.
What is the easiest way to change this or could this even be considered a
"bug"?
I put a simple example on
http://joachim-wesner.net/tmp/WrongFocus.jpgthe initial focus after showDialog() is on the value "6.2832...", even if
it´s diabled, because the user has not selected "User value" in the Choices
above on an earlier run (saved in preferences)!
Thanks for any hint
Mit freundlichen Grüßen / Best regards
Joachim Wesner
Projektleiter Optik Technologiesysteme
Ernst Leitz Strasse 17-37 | 35578 Wetzlar (Germany)
Tel. +49 6441 29 2611 | Fax +49 6441 29 2700
____________________________________________
Leica Microsystems CMS GmbH | GmbH mit Sitz in Wetzlar | Amtsgericht
Wetzlar HRB 2432
Geschäftsführer: Dr. Stefan Traeger | Dr. Wolf-Otto Reuter | Dr. David Roy
Martyr | Colin Davis
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit
http://www.messagelabs.com/email
______________________________________________________________________