[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] Hiding dialog box input?



Chris Nandor wrote on Fri, 27 Feb 1998 16:46:52 -0500:

>That is fantastic.  Maybe just make this an option in the GetData module; a
>special flag?
>
>Without changing the interface too much, you could do:
>
>  $ans = $ask->query($prompts, $defaults, [4,5]);
>
>Where [4,5] would say to make 4 and 5 password-type fields.  Just a thought.

Thanks very much. Yes, that's a good thought. Unfortunately the fields have
to be declared in the new() 'constructor', not at query() time. So one
would have to put the flag in as a constructor argument which is not quite
so nice.

The only alternative would be to double up all the 'edit' fields so that
any one could be declared a 'password' field at query() time. It would be
quite a complication and might slow things up a bit. I'll have a think
about it, and thanks for the suggestion.

Alan



***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch