Labels vs TextFields to display Long text

I am currently using labels to display all the text in my application, and it can be very slow to load long passages of text.

The text of loading consists of many operations += (it loads verse by verse of a XML file).  I know that if you use TextFields, you must use .append for better performance.  Am I is slowed down because there is no command adding labels?  Should you opt for using flash.text.TextField rather for better performance?

I just tested and replaced my two fields of label with TextFields and use .appendText instead of +=.  Improving the performance I received was amazing!  By loading the long text passage (Psalm 119 of the bible for reference), the loading time has fallen more than 10 seconds at about 1-2 seconds.  It consists of about 350 operations += replaced by .appendText.

So, looks like I found my answer.  Using TextFields and appendText is definitely the way to go.

Tags: BlackBerry Developers

Similar Questions

  • Issue of long text

    Display long text in the form...

    I know that I can place in the bean and assign the value of any outputText similar control

    Some sort of place in form as...

    < af:outputFormatted... > <! [CDATA [very long and boring static text, I want to create bean.text to]] > < / af:outputFormatted >

    You can try

                  
                    
                    fkgjlkdfgjkldfjglkdgjkldjl dlgkj kldf glkjdflk dflkgj dflkg ldkfgj lkdfjg
                    
    dflldlfgjy sldflskjdfkljflksjlsdjf
    ]]>

    Timo

  • Representative of the long text on label with 3 points

    Hello

    I have a label field that has a fixed layoutchild, which is relatively low for the content of the very long label...

    That part of the text that the label can contain is displayed alone... But I would like to add three points after the text to display for the user that there is always a part of the text that is not displayed...

    How can I achieve this?

    Hi sheeluwiki
    no need to add points because you're labelfield it automatically will come if you go the LabelField one = new LabelField ("some text", DrawStyle.ELLIPSIS).

    Use DrawStyle.ELLIPSIS style for your labelfield and check...

    Thank you

  • How to display different text for the labels in group above report Oracle report

    Hello

    Is there a way to change the text that is displayed in the labels in a report over the Group? For example, I have a report above group with my columns of data and above the columns, I have my column labels, but I would like to be able to display various text, i.e. different labels according to requirement. In other words, Column1 label could say column 1 or it's Column1, based on a condition. This is Oracle Report Builder 10.1.2.0.2.
    Thank you.

    If you use the wizard the column headers are created as fixed text elements. No way to change that.
    So, you have to delete text and replace by fields that use some of the columns in your data as the source model. This is how I create reports all the time. There is never any fixed text, all the text is retrieved in the data model.

    You can also use the format trigger. Simply place the elements of different text on top of the other and return TRUE or FALSE to display the correct label.

  • How can I make the text box caption to display a text variable that is longer than the length?

    Hi all, I would like to do this: make a text caption to display a variable that contains a paragraph of text that the user has typed as soon as possible.

    I created the maximum length of the variable only 1000 and I am able to partially displayed variable in the text caption - only at the end of the first line of caption text.

    ICan someone tell me how to configure the text caption so that it can encapsulate texts? I can't find it in the properties panel.

    Thank you very much.

    No need to shout, even if I'm not native English, I understood your question very well, and this can be done with the enhanced TextArea widget as I mentioned. Here is a screenshot:

    Workflow:

    • Create a user variable, I scored it
    • Insert twice the widget with variable TextArea (Jim Leichliter, CaptivatePro), on the screen, these are the two rectangles on the bottom red and blue
    • Configure the first Widget to be associated with v_text and show this variable by inserting a default $$ v_text$ $
    • Configure the second Widget to display this variable by inserting returns a default $$ v_text$ $
    • You will need a button to refresh, so that the text appears in the second widget. Here I used the button, and then assigned to the action "Jump to slide" with the same number of slide so that the playback head rewound to the beginning of the slide
    • The text in the second widget shows; as you can see, it can be formatted as you wish.

    If you want to display the text in another slide, no need to make the action update, it automatically displays when you get to this slide.

    It is not a text caption that is displayed, but the widget. Is this a problem?

    Lilybiri

  • MouseOver CLOB fields in the spreadsheet poster a long text string

    I use SQL Developer 4.1.1.19.59. Running a query on a table with a CLOB field (for example, the view System V$ SQL) displays the CLOB column with «...» "at the end of the field. When I mouse over this column, I get a long string of text that extends on to my second monitor. A current colleague 4.0.0.12 version gets a beautiful bubble pop up that shows the wrapped around CLOB field is actually readable.

    Is there a setting that controls this? Or is it a (bug) difference between the two versions of the SQL Developer? If it is a parameter, I was not able to find it through preferences.

    Received a response from Oracle.

    Try to set the following preferences:
    -Open tools/preferences/environment
    -set the 'Look and Feel' = Oracle
    -define "Line terminator" = Platform Default

    He fixed it. I had the 'Look and Feel', set to "Windows". Change to 'Oracle' now annoys me long SQL statements in a little easier to read the pop-up box.

    I will still argue that it should display the text in this way, the 'Look and Feel' no matter what I choose. It will be fixed or changed in a later version.

    Thank you

    Brian

  • collapse of icons always displays the text

    When illustrator upgrade 15.3, my icons is collapsed, I got on the right side have been developed to display the text. It seems that the panels collapse is just an icon no longer. How can I show just the icon?Screen Shot 2016-07-10 at 9.23.09 AM.png

    Try to grab the left side and drag it to the right.

  • How can I print my form with long text?

    I created a form in Adobe Acrobat 9 with text fields to fill out.  Some of our users need to print the form after completion and my form creates Ahmed bars to read the text that is long and extends beyond the text box.  How to change the form where all of the text will be printed?  The text box just should be bigger or is there a function I can edit on the original document to enable this?  I read in another post that it can be fixed in Acrobat, but it didn't say how to fix.

    You can make the largest field, the smaller font, or set the font size as auto (in addition to the deselection of the option 'Scroll long text'). When the font size is set to Auto, it will automatically drop in size, with a minimum area of 4, in an attempt to display any entered text.

  • Long text description of project-URGENT

    Hello

    We have a project in which the different project ID is set. We want to store descriptions (200-250 characters, for the purposes of tax) and who created a member (text data type, account type-saved hypothesis) and created a form to enter the descritions of text corresponding to the different projects. But when I go to any comma or some special characters(") then planning does not display data correctly after recording or not allow to modify the same thereafter (for double quotes).

    Are work-autour/alternatives there?

    How load these long text in the system (as there are many projects and those entering manually one by one would be painful)?

    Help, please.

    Thank you and best regards.

    If you use ODI I went through a method of loading of text data, you can see here

    If you don't you can always use the same concept to load information into sql tables.

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • I sent a long text on my iPhone is and he went from English to Chinese characters.  Why did do that?

    I sent a long text on my iPhone is and he went from English to Chinese characters.  Why did do that?

    SSounds as a possible coding glitch, msg is read as instead of UTF8 UTF16 may be.  Probably caused by the carrier.

  • addons page displays white text on white background

    I'm legally blind. It became a never-ending struggle to get Firefox to display the colors correctly. I use the black contrast theme. and Firefox is configured to display white text on black background. Recently, I needed to adjust the color for unvisited links. I could not because the colors of the palette are all black. I found a solution here to switch the State of (I think) browwser.treference.inconfig. This gave me the screen options of old back and it worked. Now, I can't go back because the screen addons and about: config white text on white background.

    Last post on this topic-, it is a known bug, #1207084, which is marked as resolved.

  • In a sequence of CTF, is it possible to obtain a text file of sequence clips display? There is a display of text file for clips (cmd-9). Zoom the timeline cancels the ability to see the whole sequence of the time line.

    In a sequence of CTF, is it possible to obtain a text file of clips in sequences display (name and duration)? There is a display of text file for clips (cmd-9). Zoom the timeline makes this visible annotation for shorts, cancels but the ability to see the whole sequence of the time line. Of course, it would help my editing.

    TIA

    In Final Cut Pro 7, you can use editing > find command to search on used clips in the sequence. See if there is an equivalent command in FCE. Unfortunately, I can't determine that at first hand on my system. (In addition, if you are still interested whereas FCP X, there the so-called Timeline index which provides quick access to a list of markers, clips, effects, etc..)

    Good luck.

    Russ

  • Firefox does not display a text on some pages.

    I noticed that on some pages, Firefox does not display some texts. I have the latest version of Firefox installed and my flash and java are updated. The text appears correctly on Chrome and IE. Please see my example in the screenshots of the stevenson.edu Web page. Does anyone know what I can do to solve this problem or if there is some kind of plugin need me to see some content? Thank you.

    Screenshot of Firefox: http://i47.tinypic.com/123359k.jpg
    Screenshot of Chrome: http://i48.tinypic.com/2uy3ay1.jpg

    The site appears to be using an old 1.2.0 version of MooTools which is not compatible with curent releases Firefox.

    Quote: Mootools 1.2.x incompatible with Firefox 18 and newer. Fixed in Mootools 1.3 and newer (see 789036)

    • bug 789036 - MooTools 1.2.x has been broken by the addition of String.prototype.contains

    (please, do not comment in the bug reports: https://bugzilla.mozilla.org/page.cgi?id=etiquette.html)

  • Display a text box before running a program

    I am designing a new interface for a pulse on LabView duplicator and I wanted to display text on the front before running the program. I managed to create text boxes that appear after the code begins to run, but I was wondering if there was a way to display these text boxes before the code runs.

    Maybe I'm misunderstanding / simplistic, but if you have a string indicator (text box - as you call it) you can simply type in what you want the initial value of the being, and then right click and select 'data operations.  Then choose "Use current default".

  • Display the text in Hindi language

    Hello

    I need to display the text in Hindi language in Labview 8.2.1. Is it possible to do? If possible, help me to do.

    Thanks in advance.

    Kind regards

    Raja

    Hi Hillman,

    I followed the steps you mentioned, & also, I added a line UseUnicode = TRUE at the end of the configuration LabVIEW LabVIEW.ini file located in C:\Program NIUninstaller Instruments\LabVIEW.

    Then I read the hindi text from a file & I posted it in a string indicator. Also, right-click on the indicator chain & enable Force Unicode text. So that the texts do not display correctly as it is in the file.

    Thank you

    Raja

Maybe you are looking for

  • battery low life iphone 5s

    I got an iphone 5S for 9 months and the lie of the battery is really poor, it takes about 7 hours with minimal use, so you can not had our during a full day without the battery running out.  I went to the Apple store and they ran some tests and reset

  • HP client security

    Hello I want to uninstall Hp client security from my laptop, but when I try to uninstall it, I got an error "Disable Drive encryption security manager Hp... How can I disable it from Hp Security Manager... ??? Help, please

  • Define a worksheet to add text automatically?

    I must write the minutes of a weekly meeting and keep us track of each new point with a code where only two middle numbers change every week. Is there a way to define a column, so I don't have to type it every time? So, for example, that we have the

  • Satellite M70: Age of empires2 has: graphics issue The Conquerors

    Hello I just bought a laptop Toshiba M70 Satellite with Mobility Radeon X 700 but I have some problems with this classic RTS game Age of Empires 2. When I launch the game it comes an error alert message; "Can't initialize graphics system. Make sure t

  • With the MS updates and programs__ installation problems

    I seem to be difficulties with the installation of the updates and Microsoft software, and I don't know why. I bought Visio 2007 and when I downloaded and tried to install the product it failed due to an unknown error. In addition, I have for the upd