Flex 4.6 -- not able to Enable text fields

Posted on 2012-08-30
Medium Priority
Last Modified: 2012-08-31
For the following code:

<?xml version="1.0"?>
<!-- dragdrop\SimpleListToListMove.mxml -->
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
	<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"/>


Open in new window

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?


Question by:gdejarnett
LVL 37

Accepted Solution

CyanBlue earned 2000 total points
ID: 38354259
Text control does not allow you to input any text in it.  You have to use TextInput or TextArea for that.


Author Closing Comment

ID: 38355976
Thanks CyanBlue -- exactly what I needed.

Featured Post

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

First things first - Preparation We need all the part for this install and it's much nicer to have them all on hand when you need them so here's what's required. Download Eclipse 3.5 32 bit (I like the Classic flavour) from here. (http://www.e…
Applications for our next round of the Experts Exchange Scholarship Contest are starting to roll in. It made us wonder what our past winners are up to these days. Here's a look at what four winners experienced with the contest and what they're doing…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Suggested Courses

862 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question