[Laszlo-dev] proposal to add "enabled' flag to LzInputText

Sarah Allen sallen at laszlosystems.com
Tue Jul 5 12:08:27 PDT 2005


This sounds great!  Then we could make the edittext component much more 
lightweight and save a number of views.

Henry Minsky wrote:

>The Flash TextField object can be switche from input text to read-only
>text by toggling it's "type" field from 'input' to 'dynamic'.
>
>I would like to expose this behavior to allow users to toggle an input
>text field to be read only.
>
>I propose adding an API like
>
>LzInputText.setEnabled(val) {
>  if (val == true) {
>      this.__LZtextclip.type = 'input';
>  } else {
>     this.__LZtextclip.type = 'dynamic';
>}
>}
>
>
>
>
>  
>



More information about the Laszlo-dev mailing list