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

Henry Minsky henry.minsky at gmail.com
Tue Jul 5 11:56:19 PDT 2005


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';
}
}




-- 
Henry Minsky
Software Architect
hminsky at laszlosystems.com



More information about the Laszlo-dev mailing list