Sking for TextInput problem

Hey,
im trying to have custom skin for spark TextInput and inside I'm using RichEditableText as follows
<s:RichEditableText id="textDisplay"
                        multiline="{hostComponent.multiline}"
                        lineBreak="toFit"
                        color="{hostComponent.textColor}"
                        fontFamily="{hostComponent.fontFamily}"
                        fontSize="{hostComponent.fontSize}"
                        focusedTextSelectionColor="0xddf1f8"
                        left="6" right="1" top="4" bottom="1"
                        kerning="off"
                        heightInLines="{hostComponent.lines}"
                        >
    </s:RichEditableText>
problem is that when i start typing it's never go to 2nd line only if I have press Enter key. What's wrong with it?
Also I want to ask how work widthInChars and heightInLines parameters. I was thinking that if I have set widthInChars to 10, it will set maximum 10 chars per line, but it doesnt work like that...
Im using SDK 14403

If the Enter key isn't causing you to get a second line of text, then your databinding expression is probably setting 'multiline' to false.
Have you read the ASDoc descriptions of how widthInChars and heightInLines work?
Gordon Smith
Adobe Flex SDK Team

Similar Messages

  • WordWarp for  TextInput

    hi
    i m working on a chat application, i have problem for
    TextInput.... as i m using TextInput as a user to enter their
    messages.....if when user enter long text then it should be warped
    to next line.......but it is not doing so... and i cannot got any
    wordWarp property for TextInput control... and one more thing i
    cannot use TextArea fot this.....as it makes prob for me in some
    other issues.
    so please is there any way to set wordwarp fot TextInput??
    Thanks in advance
    shrikant

    hi,
    i m using textArea instead of inputText...... for NOW.
    i explain what is the prob i m facing using this
    textArea...... user enter the message to send in textArea...... and
    there is a button "send", there are two events can happen.....1.
    they may click on send, 2. they may hit "Enter key"... right!!
    if they click mouse on "send" button then there is no prob.
    if they hit "enter" key........ then message commonely send
    as per code..... but u know what happnes if u have curson in
    textArea and u hit "enter" key.... it takes the cursor to next
    line...........means after sending the message......the cursor
    stays at second line......(as this not happen if we use
    inputText).....
    this is what real thing.......
    hope u may help me...
    thanks

  • I've only had my iphone 5s for a week. I keep getting an error message of "Server has stopped responding."  I need the server to work. Does anyone know if there is a "fix" for the problem? Other wise, I probably best return for a refund and get a Samsung.

    I've only had my iphone 5s for a week. I keep getting an error message of "Server has stopped responding."  I need the server to work. Does anyone know if there is a "fix" for the problem? Other wise, I probably best return for a refund and get a Samsung.  Thanks

    sandyzotz wrote:
    Other wise, I probably best return for a refund and get a Samsung.
    Unlikely.  Based on the complete lack of detail of the issue provided it is entirely possible the same issue would occur.
    Unless and until the user provides some actual details of the problem, there is nothing the indicate that the issue is with the iPhone.

  • HT204266 My iPad (version 1, IOS 5.1) has quit connecting with the store. I am unable to update or buy any app. I did a reboot and a reset with deleting the data. I can not find anything in support for this problem. Any help will be appreciated.

    My iPad (version 1, IOS 5.1) has quit connecting with the store. I am unable to update or buy any app. I did a reboot and a reset with deleting the data. I can not find anything in support for this problem. Any help will be appreciated.

    My iPad (version 1, IOS 5.1) has quit connecting with the store. I am unable to update or buy any app. I did a reboot and a reset with deleting the data. I can not find anything in support for this problem. Any help will be appreciated.

  • I've searched to no avail for this problem. Similar posts but none that tell me what to do. I can't add or delete any bookmarks on my iPad 2 running the newest iOS. I know how it's suppose to work, it just isn't working!

    I've searched to no avail for this problem. Similar posts but none that tell me what to do. I can't add or delete any bookmarks on my iPad 2 running the newest iOS. I know how it's suppose to work, it just isn't working!
    It started after the major update to iOS 7.
    I can't believe that this is so hard to do. It's just not letting me. I can add a bookmark to the home screen just fine, just not in a bookmarks folder anywhere I try.
    I've used Apple products since 2001 and have always loved how intuitive they are. But the Safari browser since iOS 7 has been the worst I've experienced. At least right in the beginning after that update.
    I'd really appreciate any help that doesn't just tell me how it's suppose to work...I know that.
    My iPad 4 is not affected with the problem and works as it should.

    To delete, tap "Edit" (tap to enlarge image)

  • Can someonoe please assist me in my Adobe Photoshop CS6 Extended.  I keep getting a 'Couldn't Complete Your Request because Dynamic Link is not Available?" Is there a way of getting a software patch for this problem?  I thought you didn't need extra softw

    Can someonee please assist me in my Adobe Photoshop CS6 Extended.  I keep getting a 'Couldn't Complete Your Request because Dynamic Link is not Available?" Is there a way of getting a software patch for this problem?  I thought you didn't need extra software.  My software other than that problem works fine.

    Couldn't complete what request?   Way more information please.
    What operating system?

  • TA24002 My 500 GB can't verify nor repair. I have photoshop work that I need to recover. I would like to know which erase option would be the best solution for this problem.

    My 500 GB can't verify nor repair. I have photoshop work that I need to recover. I would like to know what option would be the best solution for this problem?

    You appear to have two issues: 1) a hard drive that is not working properly and 2) files you wish to recover.
    Re 1) you need to answer Kappy's questions.
    Re 2) does the drive load and can you see your photo files? If so can you copy them to another drive?
    Do you not have a backup of the photo files?

  • I  have no service on my iphone 3gs. Is there a fix for this problem.

    I have no service  or no 3G Network on my iphone 3GS. Is there a fix from Apple for this problem.

    Sometimes this happens to me, I know I am old school as well with an iPhone 3g hey what can I say I got a great deal on it. If I do a reboot, hold the power button and home button down for 10 seconds, and then hold the power button down until the apple logo appears it usually fixes this issue.

  • I have problems in the initiation of the Encore process when opening presents the following error message : "Encore CS6 Cannot Run in Non-Royalty Serialized".... What is the best solution for this problem ?

    Help Me.
    What is the best solution for this problem ?

    Encore is activated when you activate Premiere Pro... so, as Stan asked, how did you install P-Pro?
    Ask for serial number http://forums.adobe.com/thread/1234635 has a FAQ link
    -and a fix for Encore http://forums.adobe.com/thread/1421765?tstart=0 in reply #7
    -plus more Encore http://helpx.adobe.com/encore/kb/cant-write-image-fie-larger1.html

  • I can't get any contact info for installation problem- I just bought a Mac Air and my CS5 is asking for a reinstall. Mac Air has no DVD slots. HELP I al VERY FRUSTRATED THAT ADOBE HAS NO WAY TO GET HELP

    I can't get any contact info for installation problem- I just bought a Mac Air and my CS5 is asking for a reinstall. Mac Air has no DVD slots. HELP I al VERY FRUSTRATED THAT ADOBE HAS NO WAY TO GET HELP

    You are right, Adobe does not support CS5 because it is no longer sold.
    Simply download the trial version of CS5 from this Adobe web site and input your serial number.
    Adobe - Photoshop : For Macintosh

  • I bought my iphone 5 in Houston Texas May 15 2013 IMEI Nr. 013428009645399.The problem is that in the Greece the country which I live the 4G is not working.If you have any solution for this problem pls. let me know.My email is philcoueth@yahoo.gr Thank yo

    I bought my iphone 5 in Houston on May 15 2013.
    IMEI 013428009645399.The problem I have is that in the country
    which I live GREECE the 4G is
    not working.Please if you have any solution for this
    problem let me know.My email is [email protected]
    Thanking you in advance
    Philip Couridis

    iPhones purchased in the US are NOT guaranteed to work with 4G bands outside of North America.
    For what crazy reason did you purchase an iPhone in the US if you live in Greece?  If your phone needs servicing, it will have to be brought back to the US.  You cannot get that phone serviced in Greece.

  • Auto creation of notification for vendor problems

    Hi, pls advise how to generate notificatin for vendor problems during goods receipt. can it be possible to generate automatically when there is problem for the vendor for the goods which are subjected to GR. Pls advise.

    Hi Yadav,
    pls advise how to generate notificatin for vendor problems during goods receipt.
    While doing GR( which is stores activity) why you want to generate Notification, once GR is made the inspection lot is generated, then while doing RR if some thing is not as per specs then you can raise notification automatically.
    can it be possible to generate automatically when there is problem for the vendor for the goods which are subjected to GR. Pls advise.
    You will be able to generate auto  notification only after you do GR, while doing RR. This authorization you can given to stores but  again unless you inspect the material how you will know that there is problem in material and you need to raise notification.
    for auto notification while RR, you have to assign notification type Q2/ N2 at that inspection type at customizing.
    Also you should tick 'Defect recording' tab in  control indicator of  MIC's, this will  automatically  pop up the Window for  defect recording and  thereby notification.
    Best Regards,
    Shekhar

  • I am using photoshop cc 2014.2 And when I use save for Web it gives me a dialog box that says it is using Latin characters I've never seen this before. Does anyone have an answer for this problem or do I need to go back to the older version of Photoshop.

    I'm using Photoshop cc 2014.21 I you save for Web and dialog box comes up that says that Photoshop is using Latin characters and that servers cannot recognize Latin characters in webpages and you may have trouble viewing these pages does anyone have an answer for this problem?

    What Firefox version is currently installed on the computer?
    You can find the full version of the current current Firefox release (37.0.2) in all languages and all operating systems here:
    *https://www.mozilla.org/en-US/firefox/all/
    If you have a very old Firefox version then you could consider to uninstall that version to clean up existing registry keys (especial the uninstall key).
    Make sure NOT to remove "personal data" when you uninstall Firefox, because that will remove all profile folders and you lose personal data like bookmarks and passwords including data in profiles created by other Firefox versions.
    Check the Firefox program folder and remove the Firefox program folder if there are still files left in it.
    *(32 bit Windows) "C:\Program Files\Mozilla Firefox\"
    *(64 bit Windows) "C:\Program Files (x86)\Mozilla Firefox\"
    It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.
    *http://kb.mozillazine.org/Uninstalling_Firefox
    Your bookmarks and other personal data are stored in the Firefox profile folder and won't be affected by an uninstall and (re)install, but make sure NOT to remove personal data when you uninstall Firefox as that will remove all Firefox profile folders and you lose your personal data.
    *http://kb.mozillazine.org/Profile_folder_-_Firefox
    *http://kb.mozillazine.org/Profile_backup
    *http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Clean_reinstall

  • What is the best design pattern for this problem?

    No code to go with the question. I am trying to settle on the best design pattern for the problem before I code. I want to use an Object Oriented approach.
    I have included a basic UML diagram of what I was thinking so far. 
    Stated simply, I have three devices; Module, Wired Modem, and Wireless Modem.
    In the Device Under Test parent class, I have put the attributes that are variable from device to device, but common to all of them.
    In the child classes, I have put the attributes that are not variable to each copy of that device. The attributes are common across device types. I was planning to use controls in the class definition that have the data set to a default value, since it doesn't change for each serial number of that device. For example, a Module will always have a Device Type ID of 1. These values are used to query the database.
    An example query would be [DHR].[GetDeviceActiveVersions] '39288', 1, '4/26/2012 12:18:52 PM'
    The '1' is the device type ID, the 39288 is the serial number, and the return would be "A000" or "S002", for example.
    So, I would be pulling the Serial Number and Device Type ID from the Device Under Test parent and child, and passing them to the Database using a SQL string stored in the control of the Active Versions child class of Database.
    The overall idea is that the same data is used to send multiple queries to the database and receiving back various data that I then evaluate for pass of fail, and for date order.
    What I can't settle on is the approach. Should it be a Strategy pattern, A Chain of Command pattern, a Decorator pattern or something else. 
    Ideas?

    elrathia wrote:
    Hi Ben,
    I haven't much idea of how override works and when you would use it and why. I'm the newest of the new here. 
    Good. At least you will not be smaking with a OPPer dOOPer hammer if I make some gramatical mistake.
    You may want to look at this thread in the BreakPoint where i trie to help Cory get a handle on Dynamic Dispatching with an example of two classes that inherit from a common parent and invoke Over-ride VIs to do the same thing but with wildly varying results.
    The example uses a Class of "Numeric"  and a sibling class "Text" and the both implement an Add method.
    It is dirt simple and Cory did a decent job of explaining it.
    It just be the motivation you are looking for.
    have fun!
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • My screen load times have slowed down to a crawl. I have to wait and wait for a page to load. (I know --dial -up) It used to be much faster a month ago before 5.0. Is it FireFox or do I look to Yahoo for the problem? I don't know how to sort it out.

    I use dial-up, FireFox 5.0, Yahoo addition 1.8. My screen load times have slowed down to a crawl. I have to wait and wait for a page to load. (I know --dial -up) It used to be much faster a month ago before 5.0. Is it FireFox or do I look to Yahoo for the problem? I don't know how to sort it out. Using Vista

    I'm having the same problem. Dreamweaver is supper slow. Uploading and downloads from the server... any server I use two different servers. It times out all the time. Menus are slow too.
    I'm on a MAC Pro, 6 gigs of ram no issues with anything else. I have talked to Apple they have checked everything for me. They say it's Dreamweaver. I've noticed the Dreamweaver is talking to the FTP even when I'm not doing anything.
    I've tried cleaning out my MAC caches, turning off file check and check out. Still really slow. I've worked with Dreamweaver for 6 years never any issues like this before. 18 seconds to upload a 4 kb file. 11 seconds to download the same file.

Maybe you are looking for

  • Sales Order: total weight inconsistency when using sales type BOM

    Hello!   The case is as folows:   I create a Sales Order, with one line. But this is a master item (sales type bill of materials), it has two components. That's why sbo puts two additional lines in the document. So this sales order will have 3 lines.

  • Need help with iPod classic/Alpine stereo deck interface

    Hey All- I have installed a brand new Alpine CDE-143BT stereo deck in my car.  I have a 160gb iPod classic that I connect and control via the iPod sync cable, directly into the USB port on the deck. I currently have 113GB of music on the iPod.  The d

  • Multiple Delegation types

    Hi ,     Here is my issue :        I have created a subtype of object BSEG and defined it as delegation type for object BSEG.       Now I have another requirement to create a subtype of object BSEG and need to deifine this as Delegation type .    Can

  • Q: NULL return REF CURSOR from a PL/SQL function

    I was told that PL/SQL does not handle properly NULL REF CURSORS. Here's my implementation in a PL/SQL package PACKAGE SPEC: TYPE z_rec IS RECORD ( TYPE z_cur IS REF CUR RETURN z_rec; FUNCTION some_function( p_msg OUT VARCHAR2) RETURN z_cur; PACKAGE

  • IDX2 Metadata Create Error Message l.000 File to Idoc senario

    Dear All,        I got the error l:000 while creating meta data.I read all threads related to this error,but couldn't solve this.I have assigned roles SAP_XI_APPL_SERV_USER,SAP_XI_IS_SERV_USER on xi system,and tried to assign Profiles: SAP_ALL and SA