2 Replies Latest reply on Aug 31, 2012 1:33 PM by GaryDJ

    Can't edit enabled text fields?

    GaryDJ Level 1

      For the following code:

       

      <?xml version="1.0"?>
      <!-- dragdrop\SimpleListToListMove.mxml -->
      <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
      xmlns:Componenets="Componenets.*"
      layout="absolute">
      <mx:Text id="txtName" x="247" y="24" width="181" enabled="true" text="course1"/>
      <mx:Label x="137" y="24" text="Course Name:" textAlign="right"/>
      <mx:Text id="txtDesc" x="247" y="77" width="269" enabled="true" text="description1"/>
      <mx:Label x="157" y="76" text="Description:" textAlign="right"/>
      </mx:Application>

       

      since these two text fields are set as enabled="true", why is the user not able to edit the text field?


      I'm moving data to these fields from a database to allow the user to edit the data before sending it back to PHP.  Should I be using a different control?   Is there a way to create a border automatically around text fields like this?