[kepler-dev] disable StringParameter
Chris Weed
chrisweed at gmail.com
Mon Nov 16 15:10:45 PST 2009
Thanks,
I'll try that
Sent from my iPhone
On Nov 16, 2009, at 6:04 PM, "Edward A. Lee" <eal at eecs.berkeley.edu>
wrote:
>
> If you call param.setVisibility(Settable.NOT_EDITABLE),
> then the StringParameter param will become not editable.
> Its value will be displayed, however.
>
> There ought to be a way to bind to a boolean parameter
> in scope, but offhand I'm not sure exactly how I would
> do that...
>
> Edward
>
>
> Chris Weed wrote:
>> Hi,
>> I have a boolean Parameter and a StringParameter, and I would like
>> when you click the boolean Parameter it disables the StringParameter.
>> I was thinking it would still show the StringParameter text box,
>> but just have it grayed out.
>> Is there a function on the StringParameter to do this?
>> Thanks,
>> Chris
>> ---
>> ---------------------------------------------------------------------
>> _______________________________________________
>> Kepler-dev mailing list
>> Kepler-dev at kepler-project.org
>> http://mercury.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev
> <eal.vcf>
More information about the Kepler-dev
mailing list