RichTextField setText lower other components?

I searched this forum a bit.  If I found the correct messages, it seems that I need to use a vertical Manager, but most of the posts I found related to vertical managers were to add scrolling.  It's different.

I have a screen that has the following in the following order:

LabelField

SeparatorField

RichTextField

SeparatorField

ButtonField

When you click ButtonField, a large amount of data is sent to the RichTextField.setText method.  Instead of SeparatorField and ButtonField which are below the RichTextField moving downwards so that the data can be displayed correctly, it displays all the data but it moving my components above off the screen (at the top).

Is a manager of vertical, do I have to use to make the SeparatorField and the ButtonField which are below the RichTextField down?

Look at getVerticalScroll and setVerticalScroll Manager.

Select the field before doing this.

Note that in my experience it will not be respected if the field in short could be hidden.

Tags: BlackBerry Developers

Similar Questions

  • Up to version 6.22 of entry and other components HTML texts have been with a width. Now, after installing version 7. The entries have increased in size not more about before defined sizes... You can fix this?

    Up to version 6.22 of entry and other components HTML texts have been with a width. Now, after installing version 7. The entries have increased in size not more about before defined sizes... You can fix this?

    I think it's about the size, just differently than before. See the discussion in:
    https://Bugzilla.Mozilla.org/show_bug.cgi?id=691157

  • I have a MacBook Pro 17 withProcessor - in 2.33 GHz Intel Core 2 Duo (circa 2007).  Running OS 10.7.5 (Lion).  Not compatible with the OS later.  Hardware can be upgraded to the latest processors and other components to make it compatible with the new OS

    I have a MacBook Pro 17 withProcessor - in 2.33 GHz Intel Core 2 Duo (circa 2007).  Running OS 10.7.5 (Lion).  System indicates the computer is not compatible with OS later.  Hardware can be upgraded to the latest processors and other components to make it compatible with the latest OS.  I think that later models of Macbook Pro 17-inch with processors that allow updates.  I was wondering if these can be swapped or if alternatives were available.

    Only the RAM and storage (HD, SSD) can be changed.  Everything is welded to the map logical and selected specially for the system configuration.

    I'm sorry.

  • Satellite A10: Is it possible to upgrade the processor without changing all the other components

    I wonder if anyone might know if it is possible to update by Satellite A10 CPU without changing other components. The laptop has CPU Celeron [R] 2.50 GHz 2.49 GHz, 752MB of RAM.

    Hello

    If you look at the technical side, then it s surely possible.

    But I can say such things why not:

    -performance you earn is based on the costs you have marginal
    -you lose your warranty if you open your machine and you want to dare the revocation of your warranty?
    -the cooling system is aligned to your CPU, in addition, you will need to write such things as CPU microcode. If the tools to write this weird firmware are available for toshiba technicians and not us :(

    I have tried several times with all my toshis and believe me: lose money and be disappointed is a very pleasant pastime :)

    Welcome them

  • How to clean the fan and other components?

    Pavilion 1201tx g6.

    The ideal temperature for my g6 are as follows:

    Is it normal when the ambient temperature is ~ 28 degrees Celcius? (Location: Mumbai, India).

    Should I clean the fan and other components by disassembling g6?
    Please give me some official guide PDF or videos.
    My laptop is out of warranty. Technician of cleaned HP laptop and applied thermal paste 9 months ago.

    Please help, very important.


    ____________________________
    | Please hit Kudos, if I help you! |
    | |
    | WILL |
    |___________________________|

    Hello

    Please see the following article:

    http://www.PCWorld.com/article/2021499/how-to-clean-your-laptops-cooling-fans.html

    and video:

    http://www.YouTube.com/watch?v=0yyEVSkz_0M

    And the next book shows you how to open and close the machine:

    http://h10032.www1.HP.com/CTG/manual/c02770249.PDF

    Kind regards.

  • Server installation Essbase on Linux, other components essbase on windows.

    Hi all

    We intend to improve 11.1.1.4 to 11.1.2.2. We have just the essbase Server installed on linux and other components essbase as Essbase Administration Services, essbase integration services provider services installed under Windows. My question is how can I do to collect the files to install just the Essbase on Linux server and other Windows components. I went through the Media Pack for Windows 2008 64 doc (on which we plan to install the other components essbase). Because if I click on the files needed for essbase (ranked plu essbase) it gives me all the files needed to install the essbase components. Which means (correct me if am wrong) on a server where I intend to install only components of essbase as a provider of services, Essbase Admin and provider services it gives me the necessary files for Essbase server as well, as I donot need. So, how can I do to fix this problem. Or are there other ways to achieve what is trying to do.


    Thank you
    Ted.

    Yes, download all of the packaged files required for Essbase for Linux/Windows which I think went 1-3, 6 and the installation of the client programs

    See you soon

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

  • SEO component to other components settings

    I have a request for training using a variety of components, including an Explorer taking a movie clip instance as a parameter, and it will move around when the scroll bars and the browser are used. I also have transparent buttons, on the passage of the mouse, turn slightly opaque so that the user can see very clearly that they're mousing over something. I also have windows pop up, which, as a parameter, takes the instance name of button and appears when the button is wriggling on. When the button is clicked, is pass a parameter to a variable isCorrect (true or false) that is used by the popup to determine what color to the text (green if isCorrect == true, red on the other). The context menu and then implements a text, to direct the user to the right. The problem is that the answers of bad habit of saying the same thing and just to correct a says something different, and often there are well over 50 popups per page, which means that everyone must be changed manually. And if, during the examination, the text is determined to change, then he takes too long to change! So as a solution, I put a parameter on my component browser called contextual text with a variable _browserPopupText name. I need to be able to refrence it from the popup component. I am currently able to refrence the button because the instance name is entered as a parameter.

    For additional information, the popup are instances are placed into the movieClip which is moved by the browser, so it is not on the same layer. I tried to use this ._parent ._parent, which resolves correctly (this is the button, this the object movieClip, this ._parent ._parent ._parent refrencing is a way to say _root (since I have several _levels who need to move a lot with each other), which resolves the _level #, who find the clip and the browser). However, I don't know how to refrence the browser without him give an instance name, I would not force to users to make (this soft skills training will be used by computer illiterate people more or less to build Flash training applications, and so I want to make also non-involved as possible).

    So, if there's a way to NOT have to give the browser an instance name and still refrence parameters inside the popup, I would be very happy to hear it.
    JA

    k. I found a work around. In the component browser, in the function init() browser initiallizing, I simply added the following line of code:
    _Global.browserPopupText = _browserPopupText;

    It works very well. Then I just refrence the _global variable. Also, I left the isCertify buttons to the browser, so that I don't have to change each = false "isCertify" button to "isCertify = true". Now, all these things that were in literally hundreds of components were moved to a handful of them - just the browser. Anyway, there is my work around. I'm always open for a better way to do it.

  • High level Page object sharing between lower-level components

    I have a QML file that uses a layout similar to the following:

    TabbedPane {
    
        attachedObjects: [
            Page {
                id: resultPage
                Container {
                    Label { text: "This is the result page!" }
                }
                ...
                ...
            },
            ...
        ]
    
        Tab {
            NavigationPane {
                ...
                ...
    
                Button {
                    onClicked {
                        // Change something on resultPage
                        push(resultPage);
                    }
                }
            }
        }
    
        Tab {
            NavigationPane {
                ...
                ...
    
                Button {
                    onClicked {
                        // Change something on resultPage
                        push(resultPage);
                    }
                }
            }
        }
    
    }
    

    I want to be able to make use of a shared Page (resultPage upstairs) between two different NavigationPanes. When I try and push the resultPage on the current NavigationPane, it nothing happens. If I move the object resultPage in table of a particular NavigationPane attachedObjects, pushing this page on the NavPane works very well.

    What is the best way to share a common QML component between two different NavigationPanes? If I had to define resultPage in an external QML file and I had to load into each NavigationPane, would I be able to change things (i.e. the label resultPage) before pushing on the NAV?

    Thank you

    Yes, put resultPage in file separate qml and push through ComponentDefinition (https://developer.blackberry.com/native/reference/cascades/bb__cascades__qmlcomponentdefinition.html...

  • Please let me know how to use Openstack kilo - do not have tabs for other components on the Horizon

    Anyone can please answer...

    Thanks in advance

    Please read double time and is entirely

    Did you modify /etc/openstack-dashboard/local_settings ? check if these lines exist or changed

    HORIZON_CONFIG = {  'dashboards': ('project', 'admin', 'settings',),

    Hope that above determination of the answer to your question,

    Please let me know still any questions

    Thanks,

  • components on other components

    For example look at this combobox http://docs.oracle.com/javafx/2/ui_controls/combo-box.htm#BABJCCIB, when click we click combo box a few Panel is display on the TextField, TextArea and labels, without the need to remove the component. How to make something like that? Like create a panel when click on the TextField, etc...

    A drop-down list box uses a PopupControl to display the list of selections. Is that what you are looking for?

  • Based on the list of components with drag-/ dropEnabled = true can not coexist with other moveable components

    Hello Flexers,

    because I find it a bit difficult to describe the problem I will try that after posting the code and a screenshot:


    <s:Application
         xmlns:fx="http://ns.adobe.com/mxml/2009"
         xmlns:s="library://ns.adobe.com/flex/spark"
         xmlns:mx="library://ns.adobe.com/flex/mx"
         width="100%" height="100%">
        
         <s:layout><s:HorizontalLayout/></s:layout>
        
         <fx:Script>
              <![CDATA[
                   import mx.core.IUIComponent;
                   import mx.core.IVisualElement;
                   import mx.events.DragEvent;
                   import mx.managers.DragManager;
                  
                   protected function draggableLabel_mouseDownHandler(event:MouseEvent):void {
                        DragManager.doDrag(event.currentTarget as IUIComponent,null,event);
                   }
                  
                   protected function leftGroup_dragEnterHandler(event:DragEvent):void {
                        DragManager.acceptDragDrop(event.currentTarget as IUIComponent);
                   }
                  
                  
                   protected function leftGroup_dragDropHandler(event:DragEvent):void {
                        leftGroup.addElement(event.dragInitiator as IVisualElement);
                   }
                  
              ]]>
         </fx:Script>
        
        
         <s:List id="leftList"
              dragEnabled="true"
              dropEnabled="true"
              width="200" height="200">
              <s:ArrayCollection>
                   <fx:String>Item 1</fx:String>
                   <fx:String>Item 2</fx:String>
                   <fx:String>Item 3</fx:String>
              </s:ArrayCollection>
         </s:List>
        
         <s:List id="rightList"
              dragEnabled="true"
              dropEnabled="true"
              width="200" height="200">
              <s:ArrayCollection>
                   <fx:String>Item 4</fx:String>
                   <fx:String>Item 5</fx:String>
                   <fx:String>Item 6</fx:String>
              </s:ArrayCollection>
         </s:List>
        
         <s:Group id="leftGroup"
              dragEnter="leftGroup_dragEnterHandler(event)"
              dragDrop="leftGroup_dragDropHandler(event)"
              width="200" height="200">

              <s:Rect left="0" right="0" bottom="0" top="0">
                   <s:fill><s:SolidColor color="0x00FF00"/></s:fill>
              </s:Rect>

         </s:Group>
        
         <s:Group id="rightGroup"
              width="200" height="200">

              <s:Rect left="0" right="0" bottom="0" top="0">
                   <s:fill><s:SolidColor color="0xFF0000"/></s:fill>
              </s:Rect>

              <s:Label text="DRAG ME"
                             color="0x000000"
                             mouseDown="draggableLabel_mouseDownHandler(event)"
                             y="0"/>
              <s:Label text="DRAG ME"
                             color="0x000000"
                             mouseDown="draggableLabel_mouseDownHandler(event)"
                             y="40"/>
              <s:Label text="DRAG ME"
                             color="0x000000"
                             mouseDown="draggableLabel_mouseDownHandler(event)"
                             y="80"/>
            </s:Group>
        
    </s:Application>

    DragDrop.png

    I came across a problem recently. I wanted to be able to use drag - and list controls dropEnabled property and (on the same canvas) use the functionality of drag-and-drop automatic implemented other components (in this case, a combination of movable labels that can drag a group component). I wanted the labels to be moved in the entire screen, but only fall on the part of the Group (NOT the list). The items in the components list were supposed to be interchangeable between the lists in the set of properties dragEnabled and dropEnabled to true. The problem is that when I drag the labels of the groups on the lists a null #1009 object reference error is thrown because the list does not try to calculate the index fall for labels. I know that I could work around the problem by setting dropEnabled = false on the lists and implement drag - move by hand, but I hope that both variants of drag-and-drop coexist in a spirit of flexibility.

    Any thoughts? Thank you very much!

    Kind regards

    Thilo

    When you delete something on a spark list you will need to provide a dragSource not null in the format 'itemsByIndex', if you change your code to something like this, it should work:

    protected function draggableLabel_mouseDownHandler(event:MouseEvent):void {}
                   
    do some data to pass to the list
    var someData:Vector. = new Vector. ();
    someData.push ("hello world");
                   
    List is waiting for data to slip with the format "itemsByIndex".
    var dragData:DragSource = new DragSource();
    dragData.addData (someData, "itemsByIndex");
                   
    DragManager.doDrag (event.currentTarget IUIComponent, dragData, events);
    }

  • SGA, PGA and other areas of memory

    Hi guys,.

    (I use 9i, with dedicated server mode, for a DSS system)

    I just want to know if my interpretation is correct.

    (1) when an instance starts, Oracle sets aside the amount of RAM specified by SGA_MAX_SIZE.
    (2) given that the PGA is located outside the LMS, Oracle also cancels PGA_AGGREGATE_TARGET.
    (3) so that the required total RAM is SGA_MAX_SIZE + PGA_AGGREGATE_TARGET
    (4) the SGA has a variable size. Because stuff like SHARED_POOL_SIZE and JAVA_POOL_SIZE may have a value specified, their size cannot grow. Therefore, the variable size is used to account for the other structures of memory as sql_area I can see on the page of Tom Kyte on SGA (links not working do not, so the address is http://asktom.oracle.com/pls/asktom/f?p=100:11:0:::P11_QUESTION_ID:365088445659))
    (5) If a database is about 85% of the SGA size is, would you say that is a size very bad CMS? (I know you guys hate rules of thumb, but any input on this would be always appreciated).

    Thank you

    It's confused me, I thought that each user is able to use up to the specified amount... If a user can go beyond PGA_AGGREGATE_TARGET, what's the point of this setting? Of course, Oracle must have an upper limit for the PGA, otherwise it could eventually consume all memory.

    First confusion PGA_AGGREGATE_TARGET is not by user, is limited for all processes associated with the instance server. Always book enough memory on the OS to ensure that you can honor the value.
    http://68.142.116.68/docs/CD/B19306_01/server.102/b14237/initparams157.htm#REFRN10165

    There are cases where Oracle on will provide PGA if PGA_AGGREGATE_TARGET set too low.
    For example.

    SELECT * FROM V$PGASTAT;The output of this query might look like the following:
    
    NAME                                                          VALUE UNIT-------------------------------------------------------- ---------- ------------aggregate PGA target parameter                             41156608 bytesaggregate PGA auto target                                  21823488 bytesglobal memory bound                                         2057216 bytestotal PGA inuse                                            16899072 bytestotal PGA allocated                                        35014656 bytesmaximum PGA allocated                                     136795136 bytestotal freeable PGA memory                                    524288 bytesPGA memory freed back to OS                              1713242112 bytestotal PGA used for auto workareas                                 0 bytesmaximum PGA used for auto workareas                         2383872 bytestotal PGA used for manual workareas                               0 bytesmaximum PGA used for manual workareas                       8470528 bytesover allocation count                                           291bytes processed                                          2124600320 bytesextra bytes read/written                                   39949312 bytescache hit percentage                                          98.15 percent
    

    the count of distribution: this statistic is cumulative since instance startup. Too PGA Award in memory can occur if the value of PGA_AGGREGATE_TARGET is too small to accommodate the other PGA component in the previous equation, more the minimum memory required to run the load of work area. In this case, Oracle cannot honor PGA_AGGREGATE_TARGET initialization parameter and additional PGA memory should be allocated. In the case of over-allotment, you must increase the value of PGA_AGGREGATE_TARGET using the information provided by the view of advice V$ PGA_TARGET_ADVICE.

    http://68.142.116.68/docs/CD/B19306_01/server.102/b14211/memory.htm#i49320

    I'm still very confused about SHARED_POOL_SIZE. If I put SHARED_POOL_SIZE to 100M, and according to you, guys, that can grow to 100 M, so what's the point of having this setting in the first place?

    Thank you

    No, shared pool does not in itself, unless you use alter system to change. It's the dynamic sense, you don't need to restart the example to change. In the earlier version, you must restart the instance to resize the shared pool and the buffer cache.

    Oracle makes this possible by introducing setting SGA_MAX_SIZE in 9i.
    Before 9i, SGA is essentially BUFFER_CACHE + SHARED POOL + a few other components. Oracle allocate memory from the OS at startup function db_block_size and db_block_buffers shared_pool_size etc. So change the any of these settings for example, must restart.
    With SGA_MAX_SIZE, Oracle will allocate always SGA_MAX_SIZE initially, for example, 500M, you can define db cache and share setting as small as 200 M + 200 M pool, the 100M unused will be reported as free CMS, that allow to increase the shared pool and buffer cache later and also to provide a hold space released place if these setting reduced.

  • Keyboard, audio and low performance with Satellite L50-A-19N index output

    Hello

    I recently bought this laptop and I am very disappointed on the keyboard.

    Construction seems pretty harsh, but typing typing particularly fast, I'm leaving A LOT of (double letters) or letters lack mistypes.

    It seems to me that imperfect contact of the bladder base key.
    I wanted to know if this is normal with this model or is to be retrieved.

    Second disappointment is on the quality of the sound, using IDT pilot the most recent laptop (6.10.6491.0) Web but barebone sounds incredibly ugly.

    I need to activate the audio component DTS which is turned OFF by default, only after the beep for the external speakers seem its listenable, but still not as good and audio of my previous laptop with Realtek HD Audio (about same class).

    Can anyone recommend a better sound improvement or how to reach generally of better sound quality?

    My third disappointment is on the performance of the processor, although he should have the processor i7 (4700MQ), the computer index in Passmark PeformanceTest reached only about 6600-6700 points, while different configurations with the same processor unit reach up to 7900-8000 points.

    I would like to know if that could be a defective unit of CPU in my laptop or is rather caused by other circumstances as more slowly other components.

    Hello

    Until we start to talk about all of your problems, you should post some information like: laptop model and perhaps that the system you are using

    Before that, the details are unknown, its actually not make no sense to talk of possible solution and the solutions.

  • Is there a dependence of the components M1000e firmware?

    Hello

    I have a M1000e with 4 M6220, emulex 2 and several M610 servers installed. We plan to upgrade the M6220 switches for the last code (5.1.9.3, A42) 5.1.2.3. However, we want to know if any component in the chassis must be upgraded at the same time to keep compatibility.

    Or can we just be upgraded independently of the other components (MCC, Blade, blade emulex)?

    Best regards

    Paco

    Hello

    There is not an enumerated addiction, however CMC update is a good idea during the updating of the other components.

  • Cascades does not take sides property links in all components

    I believe that many elements found in the Cascades are poorly designed because they do not take sides QML property bindings. The worst example is the ActivityIndicator component that is not a race (or something similar named) property.

    Let me show you an example, I'll start with a snippet of code that does not have the property running:

    {ActivityIndicator}

    ID: indicator

    }

    WebView {}

    onLoadingChanged: {}

    If (loading)

    Indicator.Start)

    } else {}

    Indicator.Stop)

    }

    }

    }

    It is not declarative, it's imperative code. Now, let's take a look at the following example which shows how it would look like if the ActivityIndicator have had an ongoing execution property:

    {ActivityIndicator}

    running: webView.loading

    }

    WebView {}

    ID: webView

    }

    Much cleaner, easier to read and completely declarative. You also get the dependencies between the components on the right. In the first example, the Web mode has a dependency to the ActivityIndicator which is completely false. In the last example, you see that this time, the ActivityIndicator has the addiction to the Web mode, which is OK because the ActivityIndicator has a dependency for Web display and not vice versa.

    To make things even worse with ActivityIndicator-case, is that there is a function called isRunning which returns Boolean If the indicator is running or not. Why is it good?

    There are a couple of other components that have similarities with the ActivityIndicator, such as the cursor and TextField. Would be my pleasure to clarify if you are interested.

    Yes, we certainly do.

    With the cursor, there are 2 valueChanged and valueChanging, events which provide 2 different functionality, so should not in this case for valueChanged to send a signal until after the slider has ceased to be changed because the value itself is not changed until the cursor was placed, valueChanging provides instant feedback. Introducing the necessary logic to see if the user has lifted a finger, left the area of cursor or otherwise ceased to move the cursor would certainly complicate the case.

    The next point you have raised is very valid, but with the method used by Cascades, as described above, the value of the slider is defined not until after the cursor is moved and stopped. I suggest you connecting everything you see as strange behavior or unexpected in the Issue Tracker as a bug. We can step up to the development of review, this will allow developers also know that the behavior used by Cascades is not always what is expected, or exactly in line with QtQuick QML.

    Kind regards

Maybe you are looking for

  • Bad Partition on external hard drive: format the bad Partition or format the entire disk?

    I am confused how to proceed. I have an external hard drive 3 TB with partitions (3). One of the parititons cannot be verified. I saved the partition and tried to repair disk. Repair disk failed and invited me to reformat the hard drive. How can I re

  • Compaq Presario CQ57: Administrator or turn on the system of invalid password

    Hello I have this laptop and that you do not have the bios password. It's Presario CQ57 and the disabled system code is 86938144. Any help would be appreciated. Thank you.

  • Open Server LLB VI

    Is there a way to open a LAW degree, in LLB Manager, programmatically using VI Server? Opening a VI library, project, etc. all can be done relatively easily by using VI server but I do not see a method for opening a LAW degree.  Research into the LLB

  • Won't export hotmail contacts

    I can combine, import, restore, but when I click on export, nothing happens and you ask before anything that I don't want to say anything.

  • Error reading file

    When I download pictures from the memory card and try to visualize a small box arrives marked Microsoft Photo Editior error reading file