Dynamically resizing TextArea ?!?!?! I cant see what I am typing

http://cookbooks.adobe.com/post_Creating_a_dynamically_resizing_TextAr ea_without_s-13628.html
used code in above link, additionally I added code for width similar to height,
the else part in below
override public function set width(value:Number):void
    if(condition)
    else
                  textField.validateNow();
                    if (textField.textWidth+7<= this.maxWidth)
                        super.width=textField.textWidth+7;
                    else
                        this.wordWrap =true;
                        super.width = super.maxWidth;
also I set wordWrap=false in adjustHeightHandler and constructor. when I continue typing it reaches maxWidth then maxHeight after that i cant see what I am typing.
live scrolling reaches maximum height, but I could see by press down arrow

Hope the following code will help u,
public function CustomTextArea()
            super();
            this.addEventListener(KeyboardEvent.KEY_DOWN,onKeyDown);
                    private function onKeyDown(keyEvt:KeyboardEvent):void{
                              updateDisplayList(unscaledWidth,unscaledHeight);
        override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
            super.updateDisplayList(unscaledWidth, unscaledHeight);
            this.height = this.textField.textHeight+10;
            this.textField.scrollV = 0

Similar Messages

  • Has anyone tried emailing after the Yosemite upgrade?  The size of the email pane is enormous and cannot be resized so I cannot see what I am typing as it disappears off screen to the right.  This must surely be a fault?

    The email window pane is huge and disappears off screen and I have not found any way to resize it.  This means I cannot see what I am typing as the text disappears to the right off the screen.  Only way to see what you are typing is to drag the pane to the left and then back again when the cursor moves to a new line.  This surely must be a fault with the new Yosemite OS X?

    Thanks, Bee!  I never knew that one--it does resize the screen.  But, what I want to do is resize it from the corner, or from the side, or from the top.  I'd like to move it to another place on the page, if I need to. The bigger problem is that I can no longer click and drag to highlight a word or phrase, etc.  Both of these things happened in Office and in Safari after I downloaded Yosemite. I feel sure that it is just some little trick like the one you suggested or some box that I need to tick to get things working like I've always known them to be.  Thanks for any help you can give...

  • My iphone after syncing with my mac is saying "64 items could not be synced, see i tunes for details" however I cant see what items are not synced as no obvious message. Where do I look for this info?

    My iphone after syncing with my mac is saying "64 items could not be synced, see i tunes for details" however I cant see what items are not synced as no obvious message. Where do I look for this info?

    Connect your phone to iTunes, then right-click on the name of your phone on the left sidebar and select Reset Warnings.  Then sync again and you should get a warning listing the problem files.

  • TS5185 I switched to LG G2 and people keep sending Imessages that i cant see what can i do ? (without my Iphone)

    I switched to LG G2 and people keep sending Imessages that i cant see what can i do ? (without my Iphone)
    I cannot use my Iphone
    please support

    Call AppleCare and tell them you want to cancel iMessage.

  • I switched to LG G2 and people keep sending Imessages that i cant see what can i do ? (without my Iphone)

    I switched to LG G2 and people keep sending Imessages that i cant see what can i do ? (without my Iphone)
    how can i cancell the Imessage option ? =\
    help me please
    thank you

    Call AppleCare and tell them you want to cancel iMessage.

  • I can't see what is being typed to me HELP!!

    The person I am chatting with can see what is being typed to them and is able to respond, but I cant see what their responses are. Help pleeeaassseee!! Is it my computer?

    Before trying to isolate an issue, it's always best that one is running the latest Skype release. Which may in itself resolve the issue.
    A new version has just been released September 13th, 2011:
    Please download/install this version from here, when prompted click the open or run button: http://download.skype.com/SkypeSetup.exe
    This new version is 5.5.0.117 to check what version you have, using the main Skype client window please do:
    Help -> About Skype
    This is NOT a fix or solution.
    Please right click on the Skype Icon in your system tray and change your status to "Offline" for 5 seconds and then back to "Online".
    This forces a status update of all your contacts in your contact list as well as a update of your status without the need to logoff/logon.
    Also, if possible, call them Skype to Skype and request they do the same, while you are both online.
    About Me You can also use a IP Camera as your camera for Skype video Example Instructions

  • When I type the keyboard is in the way and I can't see what I am typing. How do I fix this on my iPad?

    When I type the keyboard is in the way and I cannot see what I am typing. How do I fix this?

    I just updated to ios8 on my iPad and the keyboard blocking the text is driving me nuts!  You used to be able to scroll the page up which would allow one to see what you were typing.  Ugh! Help.  splitting the screen is not an option. It used to work fine

  • Google search is grayed out and I cannot see what I am typing

    FF 6.0.2, Google search bar is grayed out and I cannot see what I am typing. The Search bar works but It is annoying.
    Please help and Thanks in advance
    Mike Sousa
    [email protected]

    Site url field has a grey text as "www.yoursite.com" , the OK button will only be active once site url is entered.
    Try to type in the site url and then check.
    Thanks,
    Sanjit

  • TS3274 Keyboard is in middle of screen preventing me to see what I am typing

    My keybboard is always in the middle of the screen preventing me to see what I am typing.  Is there a reset I need to do or recalibrate

    Tap and hold down on the little keyboard icon in the lower right corner of the keyboard and select - Dock.
    Go to Settings>General>Keyboard>Split Keyboard>Off in order to turn it off completely.

  • When typing on my iPad the screen does not move up so I can see what I am typing.

    Under normal operation, when using the virtual keypad, iOS shifts the screen so that it's possible to view what you are typing all the time. On my iPad if the text I am typing is below the keyboard, the screen is not automatically moved up. On some forms for example, where it is not possible to manually shift the screen, it is impossible to see what you are typing. I went to the Genius Bar and they wiped my iPad and reinstalled iOS 6 but I still have the problem. I'm guessing it is being caused by one of my apps but with 174 apps which all reinstall from the cloud it is impossible for me to know which one (and Apple is supposed to have tested all apps anyway). Any suggestions?

    So reading related comments and your feedback here helped me identify and fix the issue. Basically by turning off the split keyboard option in settings the problem with not scrolling was corrected. I then tried turning the option back on and it now appears to work fine either docked or split. I'm guessing there is a bugs in iOS whereby the setting for the split keyboard causes it to not scroll the window under specific circumstances (if I had to guess I would say when you switch the split keyboard option on and then don't use the spilt keyboard). And for the record, this problem occurred for all Apple apps as well as 3rd party apps (eg Apple notes). my advice to the "Genius" guys is to do basic stuff like changing the settings first before they resort to wiping and restore.

  • TS3274 This week the keypad "jumped" to the top of the screean't see what I'm typing! How do I get it back down to where it used to be?

    This week the keypad "jumped" to the top of the screen so that I often can't see what I'm typing! Not sure why it happened and want to know how to get the keypad back down to where it used to be! Can anyone help?
    Cheers
    Freddy

    If the keyboard is split and covering your text, Pull the two ends of the keyboard together - into the middle of the screen. You can also tap and hold down on the little keyboard icon in the lower right corner of the keyboard and select - Dock and Merge.
    If the keyboard is up on the middle of the screen, but not split, and you want to move it back to the bottom - tap and hold down on the little keyboard and icon and select - Dock
    You can turn the split keyboard off in Settings>General>Keyboard>Split Keyboard>Off.

  • Firefox highlights search boxes in light blue and I cannot see what I'm typing. How do I fix this?

    Recently firefox started highlighting the background color in search boxes/fields (ie. google) in a light blue color and I cannot see what I'm typing in the field. Please help.
    Thanks.

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode
    *https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes
    See also:
    *[[/questions/870165]]

  • Can't see what I am typing after logout from Xorg

    Hello,
    I noticed this problem a few years ago , I thought that it was related to my computer, of something I was doing wrong, but I noticed that this problem appears every time for me, with every computer. I'll try to explain it, but it will be hard
    So, this problem appears at least in the two following cases:
    - After editing the .xinitrc file, I start Xorg as user (typing startx) without any xf86-video-driver installed, it crashes (as expected), and comes back to tty.
    - After editing the .xinitrc file, I start Xorg as user (typing startx) with the right xf86-video-driver installed, it works. I see my windows manager (Openbox) I click "Logout" to come back from X to tty.
    But, once I came back to tty, I can't see what I am typing in the terminal (like a freeze). My commands are executed (I can logout) but I don't see what I am typing. If I try to edit a textfile using nano, it seems to be frozen. The only solution after that to see what I am typing is to logout, and login again. The only solution to edit a textfile using nano after that is to reboot my computer...
    Haven't to noticed that ? Am I doing something wrong ? Isn't it a bug ?
    Thank you

    [ 203.324] (II) LoadModule: "fbdev"
    [ 203.325] (WW) Warning, couldn't open module fbdev
    [ 203.325] (II) UnloadModule: "fbdev"
    [ 203.325] (EE) Failed to load module "fbdev" (module does not exist, 0)
    try installing xf86-video-fbdev
    also look here https://bbs.archlinux.org/viewtopic.php?pid=536210

  • My search bar in google now turns blue and I can not see what I am typing. Why? I read somewhere it's a problem with Firefox. Is there a fix for this?

    I'm not sure exactly when it happened, but one day my Google search bar turned blue when I tried typing in it. I couldn't see what I was typing. I did some research and some forums said it was a problem with Firefox. Have you heard of this? Is there a solution for it?
    Thank you for your help.

    For me, the google search bar turns blue once I've typed in a search term, but then want to click on it again to change or add something. The entire bar turns blue. I can still type, but it's hidden. Then when I click Search, it does bring up my search results and now the terms I've written are showing in the search bar, with no blue.
    The only way to get out of it when the blue is there, is to reload the page.

  • Why is background black and text black so you cannot see what you are typing

    Why is the background black and the text black.  You cannot see what you are typing or read the text of posts?

    Hi dlwhit,
    I'm not sure what you mean by the background and text being black.  The sidebars are black, but the text is supposed to show up on a white background.  I haven't seen this, nor has anyone else reported this issue yet.
    Can you give more information where you see black on black text so we can try to correct it?
    Thanks,
    SunshineF
    Clicking the "Kudos star" to the left is a great way to say thanks!
    When your problem has been solved, accept the solution by clicking the "Accept as Solution" button to help other members in the future!
    Rules of Participation

Maybe you are looking for

  • Application sharing issue

    hi ,    I have installed application sharing server on a seprate machine . Initially it was working fine ,but now when i try accessing this service the window does not pop up .Where is the log file generated for this ? Is there some network issue tha

  • Problem exporting .pdf to ANY OTHER FORMAT - is it me?!

    Hello, The seasoned tech person will surely roll their eyes a dozen times while reading about my odyssey... It started as a project in Pagemaker 7 (I know, I know - I'll definitely be moving to InDesign CS4 after this!). I exported the .pmd file into

  • How does TC/TM prioritize backups and deletions?

    I've recently installed a 500 GB TC and have used it to set up a backup schedule for two Macs using TM. I also want to add some archival files (old and unchanging, currently stored on several external HDs) and at a point in the near future I will wan

  • Purchase Order Referances maintenace

    Hi Where we maintain that creation of purchase order referances ? Is it possible to create purchase order with referance to info record ? So that after putting info recored number purchase order takes all the refernca data from info record.

  • Using a plotter with my MacBook

    Hi, I have a Macbook Pro 13" (2012) and a Graphtec Craft Robo cutting machine (plotter). Graphtec don't seem to support the machine directly themselves, and OSX seems to be able to only identify the machine (which I connect using USB) as a postscript