Auto size dynamic textarea

hi,
Im trying to create a dynamic textarea that contains text
loaded with asp/xml this works, but i want it to adjust the height
automaticly depending on the size of the content.
This is how it looks now.
<mx:TextArea minHeight="200" borderThickness="0"
verticalScrollPolicy="off" id="myid" editable="false"
wordWrap="true" width="650"
htmlText="{productsRequest.lastResult.product.producttext}"
textAlign="left" borderStyle="none" fontSize="12" />
I did found it how to do it with actionscript but not with
mxml.
thx

because i know its possible in xmxl, but i found out that it
resizes when i use <mx:text and than use height="100%"
so textarea cant autosize, thx for the reply,

Similar Messages

  • How to make an auto size form of dynamic controls

    Hi Experts,
    i am creating a number of TextField controls and adding in the form component at run time.
    i set the width and height 100% but i need to have auto size form depending on the fields.
    please guide how can i set form size auto?

    As long as the form is inside a container that supports auto layout, lie VBox, and the VBox and Form have width and height set to 100% you should be okay.
    What is some simplified yet complete sample code and what problem are you actually experiencing?
    If this post answers your question or helps, please mark it as such.

  • Auto scrolling dynamic text field(news ticker)

    > This message is in MIME format. Since your mail reader
    does not understand
    this format, some or all of this message may not be legible.
    --B_3272625483_2679871
    Content-type: text/plain;
    charset="US-ASCII"
    Content-transfer-encoding: 7bit
    Does anyone know how to make a scrollable dynamic text field
    scroll on its
    own and also with user interaction?
    Thanks in advance for your help.
    Bill
    --B_3272625483_2679871
    Content-type: text/html;
    charset="US-ASCII"
    Content-transfer-encoding: quoted-printable
    <HTML>
    <HEAD>
    <TITLE>Auto scrolling dynamic text field(news
    ticker)</TITLE>
    </HEAD>
    <BODY>
    <FONT FACE=3D"Verdana, Helvetica, Arial"><SPAN
    STYLE=3D'font-size:12.0px'>Does =
    anyone know how to make a scrollable dynamic text field
    scroll on its own an=
    d also with user interaction?<BR>
    <BR>
    Thanks in advance for your help.<BR>
    <BR>
    Bill</SPAN></FONT>
    </BODY>
    </HTML>
    --B_3272625483_2679871--

    I found this:
    http://www.kirupa.com/developer/mx/dynamic_scroller.htm
    I copied the actual scroller and put it in my .fla and it
    worked! Now if I can only figure out links in XML...

  • How can i Auto Size the Column width in RDLC Report

    Hi Friend's,
    I have created Windows application with RDLC Report. I am binding(Generating) dynamic columns and data's in RDLC Report Using Matrix control, I need to make Auto size of Column width for each Column in
    Matrix of RDLC report. So Can any one suggest me to make the Auto Size of Column Width in RDLC.
    Thanks in Advance,
    Mohan G

    Hi Mohan,
    In Reporting Services, the column width/height is hard-coded, hence, we cannot set the column width/height dynamically or based on an expression. So is the report size.
    In addition, since it is a RDLC report, we need a ReportViewer control to display this report within a custom application. If you need to change the size of the whole report, we can set the AsyncRendering property of the ReportViewer control to false, and
    set the SizeToReportContent property to true.
    Regards,
    Mike Yin
    TechNet Community Support

  • Auto size the shared_pool_reserve

    Hi,
    If we set the value of SHARED_POOL_RESERVE_SIZE=0, will oracle auto size it?
    We are running 10.2.0.4 on SunOS

    Hi,
    I think it is set to 5% of shared_pool_size parameter at the database start but it is not a dynamic parameter as it is not included in the
    select COMPONENT from v$sga_dynamic_components;
    Regards

  • InDesign auto-size frame feature not working in real time in InCopy why?

    We have just recently migrated from InCopy CS4 to CS6 to take advantage of the new features like the auto resize frame option, however it now seems that this feature is not working in real-time.
    Basically the steps are needed to be complete before it auto-resizes the frame in InCopy, we use both layout and assignment based workflows:
    1. From an ID document ('doc1'), exported a 'layer' to IC, certain frames are set to auto-size in height using the text frame options. So that editorial can review and make changes to text and the frame should resize according to the specifications set. IC stories are saved to a folder located in a content folder inside the top issue working folder.
    2. Editorial opens the IC software, then opens the ID 'doc1'. Check’s out correct .icml file and makes edits to frame with auto resize.
    3. Frame does not resize according to text frame set options and InCopy file does not respond in same fashion as InDesign.
    4. Change only occurs when InCopy file is closed and updated in InDesign, which is frustrating as this feature would save huge amounts of time serving editorial requests.
    Has anybody experienced this type of workflow problem? If anyone can provide mw with some pointers as to what can I do to get this to update in real time perhaps run a script? Update file in InCopy and refresh I will very much appreciate their assistance. I have run out of ideas.
    Thanks!

    We've had all sorts of problems with this feature as it should've worked straight out of the box but after some testing we have found that its something to do with the way you open the actual file in InCopy. Which is far from ideal and should have been UAT by Adobe before release.
    This will not work consistently work if you open the designed .indd or .icma file in InCopy using the file open command within the application.
    If you need this to work, the InCopy user has to open the .indd or .icma file by dragging and droping from OS windows explorer into InCopy, we use Windows 7 acrros all the teams. Check out .icml files add text changes to the set auto resized frames, this process will expand/collapse the frames to fit the content but as you have to use the drag and drop method to open the .indd and .icma file, 2 users cannot access the same time doc at the same time (a serious flaw in the programming architecture!) which stops people working in parallel. Save changes, check in .icml content and close .indd or .icma.
    However the flaw comes in if you then open the .indd and .icma file in InCopy using the file open command within the application, before an InDesign user opens and saves the file (updates the design). The corrections added in the previous stage above, will not show the frames expanded/collapsed to take in the added text and instead show over matter???? The only way around this is to ask an InDesign user to open, update and save the design that way the InCopy user will see the same result no matter what file open method they use.
    Another suggestion is to design the page to have some of the auto resize frames anchored within main body of text and that way the frames will expland/collapse when checking out and editing the content. However, this does cause issues with InDesign crashing etc. so we have tried to stop this method within the working group.
    Have you experienced other more serious issues with InDesign crashing consistently when re-importing .icml files? See other forums here:
    http://forums.adobe.com/thread/671820?start=80&tstart=0
    http://forums.adobe.com/message/5045608#5045608
    As far as we can see this is a major flaw in how the application(s) work, we have an enterprise agreement with Adobe and purchase a large volume of Adobe products globally but so far the technical support team are unable to find a solution to this and I'm not hopeful of any resolution soon even with the new release of Adobe CC.

  • How to change font size in textarea?

    how to change font size in textarea?

    to embed a font using actionscript requires adding the font to your library.  to do that, click the upper right of your library panel, click "new font..", select the font you want and click ok.  find the added font in your library, right click, click properties and tick "export for actionscript" (click the actionscript tab if you don't see that option, at first).  assign a class name (eg, WhateverFont).  you can then use:
    var tfor:TextFormat = new TextFormat();
    tfor.size=22;
    var yourfont:Font=new WhateverFont();
    tfor.font = yourfont.fontName;
    ta.setStyle("embedFonts",true);
    ta.setStyle("textFormat",tfor);

  • RH7 HTML - Receive IE script error message when double-clicking link to auto-size pop-up

    Hi, all,
    Anybody ever seen this situation? When double-clicking on a link to an auto-size pop-up, I get the following Internet Explorer script error message:
    This error also occurs when I double-click the link in preview mode within the project. A colleague that is running the same version of IE with the same settings is not receiving this error. A couple of other co-workers are running a different version of IE, and one gets this error and one does not.
    This error does not occur if you single-click the link (which you would normally do), nor does it occur if you double-click a link to a fixed-size pop-up. Once you receive this message and click Yes or No, the link sometimes works correctly when you double-click. I haven't been able to establish a pattern. Also, if you single click the link to display the pop-up, click off of it, and then double-click the link, the error does not occur.
    As you can tell by now, this problem is kind of hard to pin down. I've done some research and I have yet to stumble upon anything that deals with this issue. Unless there is a solution out there, I can do one of two things: 1) change all of the auto-size pop-ups in the project to fixed-sized, which defeats the purpose of creating auto-size pop-ups, or 2) tell our customer not to double-click links.
    Any advice you could give would be welcome.

    Hi there
    Indeed it has been reported on many occasions over the years. Unless someone like Willam has some way cool error detection magick with the scripts, the best approach we have always offered is this.
    Educate your users on the way computers and HTML works. HTML works using SINGLE clicks, not DOUBLE clicks.
    The reason for the error is because the first click caused the computer to launch a JavaScript command to open the sized popup. The second click that followed in rapid succession confused things by asking the script to stop what it was doing and run again.
    Maybe it would help to explain it to your users like this. If you visited a restaurant and when the server asked what you wanted to order, would the become confused if you said to them: I'll have the T-Bone Steak and nearly immediately you repeated it by saying again I'll have the T-Bone Steak.
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7 or 8 within the day - $24.95!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • Auto size of columns is not working after latest update of itunes 8.02

    columns will no longer auto resize correctly after the 8.02 update. the song title column hides song titles on request to resize very annoying please fix this Apple. any thoughts?

    SAME HERE!
    I just created a New List in my iTunes 8.0.2, and noticed the same Columns Width Issue, in List View and Cover Flow View:
    When I Controll-clicked on any Column, and chose Auto Size All Columns, it made the Name Column width more narrow then needed to display it's full content.
    I Controll-clicked on the Name Column, and chose Auto Size Column. It didn't make it wider to extend its width to the the width of the longest Name in that Playlist.
    I tried different Playlists, and another Library and it was the same issue!
    It did work in Music and Podcasts, but not in Videos and Audio Books. Unchecking Columns didn't help.
    Repairing Permissions, and Restarting iTunes and Restarting my Powerbook G4 didn't help either...
    I am sending this bug report to Apple
    http://www.apple.com/feedback/itunesapp.html
    and hope others will do also, if they encounter the same problem.
    And while at it, please join me in asking Apple to make Lyrics Field SEARCHABLE! What an underutilized opportunity that Lyrics Field is. I can store my notes in there, and have clickable web links, if they are in the same format as the one above, in this post. And while at it, make it Searchable on iPhones/iPods, or at least visible!
    Powerbook G4 17', 1.67, 10.4.11, 2GB RAM, all latest Software Updates

  • Can someone help with auto-size fields in forms?

    I created a form in Acrobat for my team members with auto-size text fields that allow to shrink the text when the field size is not large enough to show the entire text. When I then open the same form file with Adobe Reader on my machine with text that has shrunk in some field, I can see all the text and have also a scroll function when the text size has reached its lower limits and there is still more text to show.
    However, when I receive the filled out forms back from other team members' iPads (they use my template created with Acrobat), the text didn't shrink as on a PC version and the scroll function is disabled. I checked the template and the fields are correctly set to auto-size left and they do work on my PC's and laptop's Adobe Reader. But the iPad version of Adobe Reader may cause some issues.
    Can anybody help with solutions?
    Thank you!
    Klaus

    The filled version of your PDF document (20140722 Daily Meeting Report...pdf) is no longer a PDF form because it has been flattened.
    Once an interactive PDF form (such as your template version) is flattened, all form fields are replaced with images of filled data.  You can no longer interact with form fields, edit form data, or tap/click any buttons in the flattened PDF document.  That is the reason why the text in auto-size text fields did not shrink.
    When you email a PDF document (including a PDF form) in Adobe Reader for iOS, the E-mail Document dialog is displayed.
    In this particular case, your team member must have selected "Share Flattened Copy".
    If you would like to keep the interactivity of a PDF form, you can select "Share Original Document".  Please advise your team members to select the "Share Original Document" option when emailing filled forms.
    Unfortunately, once flattened, a PDF document cannot be reverted back to the original "unflattened" state.  However, if your team members still have the original filled forms, they can resend the forms with the "Share Original Document" option.
    Please let us know if you have further questions.

  • Cannot auto size columns in iTunes 10.4.  Columns are all mixed up with headings I have never seen. Cannot change by right clicking on columns.

    Cannot auto size columns in iTunes 10.4.  Columns are all mixed up with headings I have never seen. Cannot change by right clicking on columns. Cannot order albums alphabetically by double clicking on heading.

    Very many thanks to you, Putaro!  Your answer provided the solution. It was a buggy plug-in that turned out to be the culprit.
    You're off the hook, Apple, and my apologies for stating that you let a dog run loose. You skated by this time, Apple. But I'm watching you.
    But again, Putaro's reference to the plugins I had installed over the years turned out to illuminate the problem. I have several plugins in my iTunes plugins folder, pretty much all designed to add more visualizer functionality. I removed all of them, and ALL of the problems I noted in my post went away, with full iTunes functionality restored.
    I began adding the plugins back to hopefully single out the culprit. Among the ones I had been using included fielder, G-Force, Timestrech, volcanokit, QuartzComposer, and Jax. I hadn't used any of them in a while - probably at least a verison or more back in iTunes updates, but iTunes continued to work with all of them installed. Currently, only QuartzComposer continues to work in iTunes 10.4. The rest no longer even show up as visualizer opitons, with one exception. Jax does show up, but does not work. AND THE PRESENCE OF JAX IS WHAT KILLED MY ITUNES.
    I looked into it and went back to the developer, and it appears that they discontinued developing Jax some time ago - evidently, it was buggy and crash prone. I remember after buying it, having problems with it - having never worked to its touted potential, but I didn't pursue it, and never uninstalled it. Leaving it in there caused all iTunes functionality to cease with the iTunes 10.4 update.
    If you've got Jax installed, consider removing it before updating to iTunes 10.4.
    My iTunes is now working right as rain, thanks again to Putaro!
    -Jon

  • Indesign Bug with Auto-Size and fitting in Anchored frames

    Hi,
    Steps to reproduce:
    1. Create a text frame with 2 Anchored text frames with the same width.
    2. Make the anchored frames Auto-Size --> Vertical only
    3. insert text to the first frame, when type enter to the next line the frame become higher but the next frame remain in the same position. just after typing the first character in the second line the next frame adjust in the right position.
    4. The same happen when pasting text that make the frame bigger.
    5. The same happen without Auto-Size when fit frame to content.
    Does anyone knows about it?
    Any idea how to bypass?
    Thanks

    This is a user to user forum with "some" Adobe staff participation, report bugs at this link
    https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform for bugs or feature requests

  • How to create a dynamic textarea in AS2

    I am trying to create a dynamic textArea in AS2.  Here is what I have so far:
    import mx.controls.TextArea;
    var myTextArea:TextArea = new TextArea();
    myTextArea.setSize(320, 240);
    myTextArea.move(10, 10);
    addChild(myTextArea);
    I have the textarea component in my libray, but nothing shows up onscreen.
    Help

    Are you sure you want AS2.0? There is no addChild() in AS2.0.
    In AS2.0, make sure you have the TextArea component in your library, importing it isn't good enough.
    An easy way to instantiate a component, say a button, is like so (modify for TextArea or any other component):
    import mx.controls.Button;
    var myButton = createClassObject(Button,"button2",5,{label:"Test Button"});
    usage:
    createClassObject(className, instanceName, depth, initObject)

  • Increase mainwindow size dynamically

    hi all,
    can we increase the mainwindow size dynamically.
    for eg: my requirement is if there is 1 line item, the size of main window should suppress.
    if there r more than 10 line items the size should increase.
    is it possible or not.
    thanks in adv
    vidya

    Hi
    It will increase to multiple pages depending on the data.
    If it is even one line it will display one page and show the output
    So you can't make to restrict it to one line if the data is one line. it will be the size what you defined in page windows per page.
    Regards
    Anji

  • How to make modal page to be auto size regarding content in the page?

    Hi, guys:
    I created a modal page (Dan Mcghan's modal page plugin from skillbuilder web site), which pops up when user clicks the master table to see drill down data. However, some rows in the modal page have too many characters, and modal page cannot hold it, so user cannot see the next page with page set pagination, the page set pagination is just out of the scope of modal page. Could anyone give me a suggestion to set modal page auto size adjustable regarding content in the page?
    Thanks a lot in advance.
    Sam

    Hi,
    You can enable "Scrolling" for the modal window under Shared Components -> Component Settings. In the DA that triggers the modal, you can set the "Dialog Height/Width Mode" to Auto.
    BTW, what is the region template of the modal region (in the target page)?
    If your issue is still not resolved, please setup an example in apex.oracle.com and I can have a look.
    Thanks,
    Rohit

Maybe you are looking for

  • OS X Mavericks Finder Bugs?

    Upon updating my iMac to OS X Mavericks I noticed that Cover Flow contained a few annoyances and I have yet to find any discussions about this particular one. I've always used Cover Flow since I migrated to Mac but this seems specific to Mavericks. E

  • Missing video clips, Keynote '09 5.1.1 (build 1034) and OS X 10.6.8

    I use keynote quite a bit, and have a collection of perhaps fifty keynote talks written over the past five years.  But a serious problem has surfaced in the past day: if I open any of my keynote files, the VIDEO CLIPS DO NOT SHOW.  I can see the vide

  • LiveCycle form on I-PAD

    Hi All, We currently own huge application where the designer xdp forms are rendered as pdf in the browser using forms api. All these are dynamic and interactive forms. What is the best possible solution to make these form working in IPad so that the

  • Error : Array constants can only be used in initializers

    Hello All, I am using tableview model and declared two-dimensional array. Getting error Array constants can only be used in initializers in the line retVal<i>[j] =  {  {  createBy,desc,dispName }  }; String[][] retVal; retVal = new String[20][20] //F

  • After downloading the latest update IOS.8, for my IPad the Backup

    After downloading the latest update, IOS.8 , for my IPad the Backup  and Storage option under settings is no longer there