Cannot change active text fields?

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>

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


I'm moving data in these fields of a database to allow the user to change the data before sending it to PHP.  Should I use a different control?   Is it possible to automatically create a border of fields of text like that?


You may want to TextArea instead of text?  Text is display only but allows to copy to the Clipboard and clicking on the link.

Tags: Flex

Similar Questions

  • cannot change the text field after grouping

    Hi people,

    I have 3 single-line text fields and a logo combined using 'Add parents '.  For some odd reason, I can't select a field to edit text.  I can select them in the assets Panel and change the layout or style, but as soon as I double-click to edit the text, my selection goes to the div parent instead of the text field.  I tried to use the text as well, but it always happening in selection to the parent.  This isn't a big deal since I can change the text later in a Publisher, but it's a little frustrating.

    FWIW, I ran the update of this morning before starting, but I doubt that caused this nothing thanks for any help

    -Kevin

    So sorry Chris, in my frustration, I removed the parent and the group so I can get the item that I wanted to edit, and then recreated the parent.

    However, your description of the differences between the Group and Add Parent in this discussion: http://forums.adobe.com/thread/1361983?tstart=0 probably explains why I have problems.  I think I had GROUPED fields 3 text and then wrapped in this group and the image of the logo in another div with 'Add parents '.  I have probably not been not clicking successfully through the parent company to the group, and then in the text field.  In fact, I was clicking like mad, but probably not on the correct spot for each level.

    Thank you to specify how these elements work.

    -Kevin

  • By selecting the text box to change the text field

    I worked on a form to allow suppliers to fill their reports of endoscopy online.  I'm trying to do something very simple.  If a user selects a check box change the value in a text field.  Either we allow the code to run once.  It will change the value once - even if I think it's to set an incorrect value in the code - but that is neither here nor there at this point.

    Here's the code that should work in my opinion.

    Form1. EndoscopyPage1.TestChkBox::click - (JavaScript, client)

    If (this.rawValue == 1)

    {

    TestTxt1.rawValue = "ON"; the user cannot enter field

    }

    on the other

    {

    TestTxt1.rawvalue = "off"; the user can enter the field

    }

    I tried the following as well

    If (TestChkBox.value = 0) then

    TestTxt1.editValue = 'Off ';

    endif;

    If (TestChkBox.value = 1) then

    TestTxt1.editValue = "ON";

    endif;

    I have attached the file as well.  My trial fields are in the middle of the first page.

    It's just a typo. You typed rawvalue rather than rawValue "V" must be upper case.

    See the attahed to the snap.  It works for me after you change this property.

    Nith

  • detect device language and change the text field accordingly

    Im working in Flash Pro with AIR for Android.

    I have a single text field and would like to change the language in this text field to match the language of mobile devices.

    How do I detect the language of devices, and then change the textfield object to match the language?

    import flash.system.Capabilities;

    switch (Capabilities.language)

    {

    case 'in ':

    TxtField.text = 'English LANGUAGE '.

    break;

    case "en":

    TxtField.text = "organizing";

    break;

    case "es":

    TxtField.text = "Tchequelangue";

    break;

    by default:

    TxtField.text = "Whatever";

    }

    Use Capabilities.languages [0] for the country code. for example. en-US

    switch (Capabilities.languages [0])

    //{

    case "en-US":

    TxtField.text = "English LANGUAGE. '" American ".

    break;

    case "en-GB":

    TxtField.text = "English LANGUAGE. Britain ";

    break;

    by default:

    TxtField.text = "Whatever";

    //}

  • Cannot get 'IN' text field with multiple values.

    I have a text field (P11_SERIAL_NUMBERS) someone would use to enter multiple values (i.e. of the serial numbers). I tested various methods but can't seem to get anything working. I used values such as ' 12929', '19191' or ('11919', ' 19192 ', ' 1111') or 12121,121333.»

    I have to analyze this area after the entrance is and update P11_SERIAL_NUMBER to something like ("121212 ', 121211', '292929'). The report is a SQL query returning the body of a PL/SQL function. I build the query in an anonymous block to something like the following:

    SELECT apex_item.checkbox (1, instance_number) Ins,.
    apex_item. Text(2,i.instance_number) instance_number.
    apex_item. Text(3,i.item_number) item_number.
    description of the apex_item. Text(4,i.Description),
    Serial_number apex_item. Text(5,i.serial_number),
    i.party_name,
    i.status_name
    Cycsi_item_details_v I have
    WHERE i.item_number IN (SELECT v.item_number FROM cycsi_installed_base_v WHERE v.serial_number = i.serial_number v)
    AND i.item_number AS NVL ('%' |') XLA' | ' %','%')
    AND NOT EXISTS (SELECT d.item_serial_number FROM cy_fco_d, d WHERE d.fco_id = 2803 AND d.item_serial_number = i.serial_number) AND i.serial_number IN ('61763 ', ' 61621');

    However, when I enter several values that nothing ever went back to the SUMMIT even though the SQL query returns more rows. I run the application in debug mode and it seems to show the values correctly.

    0.11: show report
    0.12: determine the column headings
    0.12: analyze the query such as: TRAFFIC
    0.15: binding: ": P11_MODEL_NUMBER"= "P11_MODEL_NUMBER" value = "XLA"»
    0.16: binding: ": P5_FCO_ID"= "P5_FCO_ID" value = "2803"»
    0.17: binding: ": P11_SERIAL_NUMBERS"= "P11_SERIAL_NUMBERS" value = '(' 61621', ' 61763')""
    0.19: print the column headings
    0.19: loop lines: 15 rows
    No data found

    If I add only a serial number at a time as the APEX application returns the line correctly.


    Does anyone have an idea what I'm doing wrong or what best way to solve this problem?
    Thank you
    John

    Published by: Jennifer on July 13, 2010 15:23

    Hi John,.

    I just tried a report region based on PL/SQL query encoded using your method to refer to element names in the query string of back:

    declare
       q varchar2(100) := 'select ename, job from emp';
    begin
       if :P2_ENAMES is not null then
            q := q || ' where ename in :P2_ENAMES';
       end if;
    
       wwv_flow.debug('*** Query: ' || q);
    
       return q;
    end;
    

    As I suspected, he did not work for me P2_ENAMES was ('KING') or ('KING', 'SMITH'). I think it's because of the reason for which I gave in my previous post - ApEx passes off the coast of the dynamic execution of SQL string, it does not automatically replace the mention: P2_ENAMES with the value of the element. I don't know how it can work for you.

    If I change the code I proposed:

    declare
       q varchar2(100) := 'select ename, job from emp';
    begin
       if :P2_ENAMES is not null then
            q := q || ' where ename in ' || :P2_ENAMES;
       end if;
    
       wwv_flow.debug('*** Query: ' || q);
    
       return q;
    end;
    

    It works very well if one or several names are specified.

    I took a blow to modify your code for the construction of the query string - does not immediately guarantee, it'll work because I can't test (might be missing a parenthesis or quotation) it but you should get the idea:

    -- start with initial valid query that ApEx can parse to determine column names
    q := 'SELECT apex_item.checkbox(1, instance_number) ins, apex_item.text(2, i.instance_number) instance_number,
                 apex_item.text(3, i.item_number) item_number, apex_item.text(4, i.description) description,
                 apex_item.text(5, i.serial_number) serial_number, i.party_name, i.status_name
            FROM cycsi_item_details_v i
           WHERE i.item_number IN (SELECT v.item_number
                                     FROM cycsi_installed_base_v v
                                    WHERE v.serial_number = i.serial_number)';
    
    -- add model number condition if specified
    if :P11_MODEL_NUMBER is not null then
       q := q || ' AND i.item_number LIKE ''%' || :P11_MODEL_NUMBER || '''%''';
    end if;
    
    -- add serial numbers condition if specified
    if :P11_SERIAL_NUMBERS is not null then
       q := q || ' AND i.serial_number IN (' || :P11_SERIAL_NUMBERS || ')';
    end if;
    
    -- add FCO id condition if specified
    if :P5_FCO_ID is not null then
       q := q || ' AND NOT EXISTS (SELECT d.item_serial_number
                                     FROM cy_fco_d d
                                    WHERE d.fco_id = ' || :P5_FCO_ID || '
                                      AND d.item_serial_number = i.serial_number)';
    

    I know that has focused on getting this code works, but I would be remiss in my duties if I didn't at least mention the risk of SQL injection. You may already know this, but unless you do a good job to validate the values of the element used in the query, you could open yourself up to a SQL injection attack. For example, imagine what that would be returned if a hacker sharp entered "12345) GOLD (1 = 1" in the field of P11_SERIAL_NUMBERS - you would get all that may or may not be a security problem.

    Hope this helps,
    John

  • Cannot change the text in the existing mathscript box

    I'm under Labview 8.2... I know it's super old, but I met some compatibility issues and found it much easier to continue in version 8.2.

    In my while loop I a mathscript box that controls which cases need to be chosen for each loop.  This configuration has worked perfectly in the past, but now when I try to change the text in the box of mathscript (blue box) I can not type anything in the box.  I click the mathscript box and selects just as if I want to move around.

    Anyone know what could be the cause of the problem?

    Thank you!

    You don't want the arrow tool. You want the tool to operate. One that looks like a helping hand.

    Have you checked that you have enabled editing that made a license for MathScript? Check your License Manager.

  • Cannot change the text box.

    Adobe Acrobat DC recently auto updated to the latest version, and it seems that the new version does not change the text boxes.

    The screenshot below shows what I mean.  I added a text box and pointed the police to change the size / font style / color, but it is gray just to go out in the toolbar properties (Ctrl + E)

    ADOBE CANNOT EDIT TEXT BOX.JPG

    Has anyone experience this problem?

    Hello

    We have released an update today which solves the problem of the properties toolbar and now you can continue to use it outside of the app commenting as well. Please open Acrobat or Reader DC and visit help > check for updates to ensure that you are on the latest patch.

    Details on the release: https://helpx.adobe.com/acrobat/release-note/acrobat-dc-august-02-2016.html

    Please let us know how it goes.

    Thank you

    -ashu

  • In the edition browser cannot change the text most

    I can't change the text of most. There are a few areas that can be changed, such as the text that is linked and images (with the exception of images of text). But the basic text not! The site is www.abientotandkidspot.com.

    You use a system font for some text, the entire text exported as an image block. If a block of text uses only web-safe fonts or present web fonts natively in Muse, it should be editable (except some other condition in the documentation link above applies).

    Abhishek

  • Cannot change the text "form received.

    I have a form of work except by submitting the text "form received" message is partially hidden under the input of the captcha area and is a different color than the text on the page.  I can't find a way to select, move and format this text in muse... Is there something that I am missing?

    form.png

    Select the form in Design view and switch between the States in the States Panel or the control bar. You can change this text for the three States other than the Normal state of course.

    Thank you

    Vinayak

  • Cannot change the text and no answer here fits

    I'm trying to change the text in a doc, I created long ago in ID CS6. I can't access it to change. The layer is not locked, and the text is not on a master page. I can access text on some pages, but not others, and I can't understand the difference.

    Here are the words of one thousand dollars:

  • cannot change the text in PDF format

    Hello

    Using Acrobat Pro 8.1.7 mac intel a lot of ram. I've got a PDF from a client that comes with the areas that I can change allegedly. However, I get this message:

    All or part of the selection has no available system fonts. You cannot add or remove text using the current font selected.

    Helv Neue Roman TT is the police. I have all Helv Neue but this one. If I buy it I change it?

    Acrobat 9 it would be easier?

    Thank you

    You ran over to one of the problems with the editing of PDF files. They are not really designed for this type of installation.

    You would need the "exact" font on your system and even in this case, it may not work.

    If the creator of the file being used mean and Open Type Font (works on Windows and Mac) and you had the same one, that would be your best bet.

  • Cannot add two text fields in the same row

    Hi, I would like to add to the field of text on the same line, but when I do that (add so much to a horizontal display manage) only appears on the screen.

    Any suggestions? Thank you.

    Hello

    This code snippet shows that the 2 textfields in the screen area by giving half the width of the screen in each textfield

    HorizontalFieldManager() = new HorizontalFieldManager Manager
    {
    ' public void sublayout (int width, int height)
    {
    Field field;
    int x = 0;

    Super.sublayout (width, height);
    super.setExtent (width, height);
    for (int i = 0; i)< getfieldcount();="">
    {
    field = getField (i);
    layoutChild (field, Display.getWidth () / 2, height);
    setPositionChild (field, x, 10);
    x += (Display.getWidth) / 2;
    }
    }
    };
    Field TextField = new TextField();
    Manager.Add (field);
    field = new TextField();
    Manager.Add (field);
    Add (Director);

  • You cannot change the text on the models of Stock from Adobe

    I downloaded a graph (AdobeStock_117354228 & AdobeStock_117354263) and I am unable to edit the text. Specifically, it seems that there is too much anchor and points objects able to edit this file.

    Am I missing something here or these files are supposed to be difficult to change.

    I browsed this forum support and only found a post related to this topic.

    Poorly created vector files.

    Abdul Qaiyoom

    Text in .ai files are converted into marks if they use a non system font. If the image uses a font that is not on a computer by default may not be included in an editable file because the author has failed to provide to the police. The only way to change in all the classes like this is to open the image in PS and use the recognition of police tool to find the font used or one close to it. Then, delete the text in the image and add your own. It is a question of law with the licensing of fonts that requires to do this way.

  • You cannot change the text layer

    I am trying to change a word in a layer, but whenever I click on this word a new layer comes and I can't access the text in the layer I want.  What I am doing wrong?

    According to the guidelines of the screenshot you provided, it seems the text layer was rasterized or flattened, you can't get back to edit mode.

    ~ UL

  • Cannot change the text in the menu

    Untitled.png

    I downloaded a template I'm trying to edit the text in the menu and despite everything I try, I can't seem to change. I'm sure it's something simple, but I'm stuck. any help would be appreciated.

    Thank you

    Stephen

    If the menu is not a menu manual, it takes the name of the site. This means: go to the plan view and change the name of the site, or to use a name that you like right on the page icon, choose 'Page properties' and use another name.

Maybe you are looking for

  • HP deskjet3630: can not scan to computer deskjet3630

    Cannot get the scan function to work my deskjet 3630 all in one. Ive tried to reload the program and the app from hp problems. Still no use.

  • How do I reinstall the drivers for the printer to windows vista Home premium

    original title: How do I reinstall the driivers from printer to windows vista Home premium my hp 3900 series drivers are corrupted, the HP site says just the drivers are loaded in the Vista operating system, I need the driver and do not have the disk

  • BlackBerry Smartphones save a number to an existing contact

    Hello I just got a call from a colleague on his cell phone number. She is already in my contacts list, but I don't have his cell number before. Is it possible to get the "BOLD" to add the call log number to existing contact information? I don't see h

  • First wrong format 13-exporter?

    First 13 worked very well, until today when I installed the update to 13.1 now it does the strangest thing; When I select a preset, it gives me a PAL preset. I have always used it to the United States and do not know why, it's choose PAL now. See the

  • How to activate the scroll bar?

    Acrobat Reader 11 (XI): no bar scroll on the right, and I can't find the option in 'preferences' to enable it. Annoying to have to "grab and pull up" all the time. How to activate it?Thank you.