I want to make a TextInput read-only without using enabled="false"
Tried the following and it didn't work.
Ideas?
===
<mx:Script>
<![CDATA[
        private function ignoreEvent(event:Event=null):void{
                event.stopImmediatePropagation();
        }
]]>
</mx:Script>

<mx:TextInput mouseDown="ignoreEvent(event)"
mouseUp="ignoreEvent(event)" click="ignoreEvent(event)"
keyDown="ignoreEvent(event)" keyUp="ignoreEvent(event)" text="This
should be uneditable"/>
===
Thanks!

-David


-------------------------------------------------------------
To unsubscribe from this list, simply email the list with unsubscribe in the 
subject line

For more info, see http://www.affug.com
Archive @ http://www.mail-archive.com/discussion%40affug.com/
List hosted by http://www.fusionlink.com
-------------------------------------------------------------


Reply via email to