How to Scroll the UIScrollBar component to the top?

I'm using the UIScrollBar with a dynamic text field. If
content gets scroll by the user, and then the text fiel dis update
with new text, the new text remains "pre-scrolled". So, obviously,
I want to set the scroll position to 0 every time I update the
content in that field. But how do you do this?
Is this something I do to the text field or to the
UIScrollBar component?
What is the method?
Could somebody please give me an example?
Thanks in advance...

Silly me, I think I walked past this one several times
thinking I had tried it.
// To scroll the UIScrollBar to the top
info_txt.scrollV = 1;
My problem was that I was using the parantheses to pass the
value, like this:
// This doesn't work
info_txt.scrollV(1);

Similar Messages

  • How to scroll the contents of the table without scrolling tab/colmn headers

    how to scroll the contents of the table without scrolling table and column headers in WebDynPro.
    I have set the table properties as
    footer visible = false;
    Visible row count = -1;
    and have put the table into scroll container with some specified height.
    I dont want to use the footer as I have used many tables in the container in same row and with same <b>Data node</b>.
    I have used many tables in same row and with same context node to differentiate it with two different colors for that specific columns.
    I am using <b>NW 04</b> and not NW04s.
    Please help me regarding this.

    To print the whole data of your table you have to do it yourself. The showPrintablePageBehavior only print what you actually see on the page. It does not traverse the data.
    The normal way to handle tis is to use a report generator (like itext, jasper report, fop ...).
    Timo

  • How to print the top of page part along with the ALV list and generate PDF

    HI all,
             I have created one ALV by using oops concept .
             and also am able to get the top of page where I have One standard logo on the right hand side
             and some details on the left side .
               Now my requirement is to while printing the list the logo and other top of page details should appear
               In the PDF output but currently while am pressing the print preview button only the alv data is coming
              am already using the method
        handle_top_of_page
          FOR EVENT print_top_of_page
                 OF cl_gui_alv_grid,
    may be am missing something ... How to get the top of page along with the logo printed ?

    Hi  Surya,
    After generating the grid display  click on print button,
    a spool number is generated. capture the spool number and convert it to pdf using the fm:
    CONVERT_ABAPSPOOLJOB_2_PDF  and save the file
    Hope this will solve your problem.
    Regards,
    R K.

  • Music-synced Text Scroller Design - How to scroll the text?

    Hallo, Flash-loving people,
    I'm a writer of stories and I want to make a Flash app that will scroll text whilst music plays. The music part is easy, but scrolling the text...
    I've tried simply importing ALL of the text, resizing, and scrolling that one giant object upwards, but when the screen was full of text it began to slow down. I need the speed uniform to sync it with the music in the background.
    I could have a 70,000,000,000 frame movie and move each element individually, avoiding the heavy load, but the amount of work on my end this would require would be so astronomical that it just wouldn't be worth it. Ideally I want something like a component that I can dump text into and have it deal with making the scroll speed uniform.
    It would also be a major plus point if it could be used/created by another program, so that someone without Adobe Flash could produce a similiar kind of movie simply by putting in their text and MP3 file and hitting a "Generate" button, but this is optional. This way I could share it with my fellow writers, but hey, if it's all mine all mine, that's not a bad thing for me!
    Does anyone have any idea how this can be done, or any hints as to where I can look?
    Many, many thanks in advance.
    - Pride

    In your music file, you can place cue points, markers, that can then be read by Flash. Here's an article on that: http://help.adobe.com/en_US/Soundbooth/2.0/WSA5A1DDFB-6BE2-4486-BE0C-A10CEEF119ADa.html
    To display the text you can use either a TextField object or a TextArea component. I would use a TextField myself. You can write the actual text in an external file and import it at runtime. Here's info on TextFields: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/text/TextField.ht ml?filter_flash=cs5&filter_flashplayer=10.2&filter_air=2.6#includeExamplesSummary Here's a tutorial on importing text: http://www.republicofcode.com/tutorials/flash/as3externaltext/
    You will need to use the scrollV property of the textfield to scroll the text. You should be able to find an example of that. Then you use the cue points in the sound file tell the textfield to scroll a line at a time.
    If you use an external sound file and an external text file, you can plug in any external files and re-use the same code.

  • How to scroll the content of an XY chart?

    Is it possible to scroll the contents of a chart? I want to keep a fixed Y axis and scroll the X axis. If the chart is placed inside a ScrollPane, then Y axis, legend, and chart title can be scrolled out of the view...

    John,
    thanks for the suggestion. I could find that css selector with the help of a decompiler (most of the chart sources are not yet released). However, to reparent this into a scrollpane required me to subclass the chart. This is because the chart itself is the parent of the content but it does not expose its children (which are protected in the Parent class). The problem is now that the chart does not show. I can only see the title and legend, no axis and no content. What am I doing wrong?
    import javafx.application.Application;
    import javafx.collections.ObservableList;
    import javafx.scene.Node;
    import javafx.scene.Parent;
    import javafx.scene.Scene;
    import javafx.scene.chart.Axis;
    import javafx.scene.chart.LineChart;
    import javafx.scene.chart.NumberAxis;
    import javafx.scene.chart.XYChart;
    import javafx.scene.chart.XYChart.Data;
    import javafx.scene.control.ScrollPane;
    import javafx.stage.Stage;
    public class ScrollableChart extends Application
      public static void main(String[] args)
        Application.launch(args);
      @Override
      public void start(Stage stage) throws Exception
        Parent root;
        MyLineChart chart = createLineChart();   
        if (true)
          // Scroll chart content - does not show chart currently.
          Node chartContent = chart.lookup(".chart-content");
          chart.getChildren().remove(chartContent);
          ScrollPane scroll = new ScrollPane();
          scroll.setContent(chartContent);
          scroll.setFitToHeight(true);
          chart.getChildren().add(scroll);
          root = chart;
        else
          // Scroll chart incl axis etc.
          ScrollPane scroll = new ScrollPane();
          scroll.setContent(chart);
          scroll.setFitToHeight(true);
          root = scroll;
        stage.setScene(new Scene(root, 1024, 768));
        stage.show();   
      public static class MyLineChart extends LineChart<Number,Number> {
        public MyLineChart(Axis<Number> paramAxis, Axis<Number> paramAxis1) { super(paramAxis, paramAxis1); }
        public ObservableList<Node> getChildren() { return super.getChildren(); }
      private MyLineChart createLineChart()
        final int CNT = 500;
        final NumberAxis xAxis = new NumberAxis(), yAxis = new NumberAxis();
        xAxis.setLabel("Number of Month");
        xAxis.setAutoRanging(true);
        final MyLineChart lineChart = new MyLineChart(xAxis, yAxis);
        lineChart.setTitle("Stock Monitoring, 2010");
        XYChart.Series<Number, Number> series = new XYChart.Series<Number, Number>();
        series.setName("My portfolio");
        ObservableList<Data<Number, Number>> data = series.getData();
        for (int i = 1; i <= CNT; i++)
          data.add(new XYChart.Data<Number, Number>(i, 50 * Math.random()));
        lineChart.getData().add(series);
        lineChart.setPrefWidth(CNT * 10);
        return lineChart;
    }

  • How to get the TOP MAT from a component material of BOM list?

    I only kown a sub material of a BOM Llist & not sure its level in the TOP MAT's BOM.
    How can i get the TOP MAT of this sub material?
    Any BAPI or Function?
    TKS a million~~~

    HI .. in my view you should ask your ABAP to help you with a small program to solve your purpose, i am not aware of any system available t-code/ program ..... hence this is what we also did at client place.

  • How to edit the top sites on safari 7.0.1

    The edit button that usually sits at the bottom of the top sites page in safari no longer exists and i can't figure out how to change my top sites or the amount of top sites displayed.

    Safari 7
    Top Sites Edit button is moved to top left corner the tile from the bottom left corner.
    Hover the mouse pointer near the top left corner of the tile,
    Edit button and the pin should appear.
    Best.

  • How to list the top 10 largest files in the current working directory ?

    How can I list the top 10 largest files in the current working directory in Solaris ?

    execute below....to get the large files in order.. change the <FS>
    find /<FS> -type f -size +1024 -ls | awk '{print $11, $7}' | sort -rn +1 | awk '{print $1, $2/1024/1024 "MB"}' | /bin/more

  • How to get the top most community given a sub community ID

    Hi,
    I have developed a custom navigation scheme with top level communities as top nav and the sub communities of the top level communities in the left nav.
    Now when the user selects a particular sub community in the left nav the top level community in the top nav should be highlighted.
    I am able to get the first level parent community of the current community but not able to recursively reach the top most community.
    I have tried the following piece of code
    IPTCommunityManager ptOM = (IPTCommunityManager) ptMgr.GetInterfaces("IPTCommunityManager");
    IPTCommunityInfo ptCommunityInfo = ptOM.CachedOpenCommunityInfo(communityID ,true);
    IPTQueryResult result = ptCommunityInfo.GetParentCommunity() ;
    I dont know how to get the communityID from result
    Any pointers in this regards will be very helpful
    Thanks

    To get community ID from the result just use this code:
    int nCommID = result.ItemAsInt(0, PT_PROPIDS.PT_PROPID_OBJECTID);
    The NavigationModel class in portalpages project has a wealth of code dealing with these types of tasks. Look around there if you don't know how to code something, it is a good source for examples.
    You would then get the CommunityInfo object for the parent community ID and call GetParentCommunity again until you reach the top. The IPTCommunityInfo objects are cached so the performance will not be too bad.

  • How to make the top bar opaque as it's hard to read transparent background.

    The transparent bar at the top of the browser is terrible to read and is distracting. I want to get rid of it. How?

    Hi,
    please have a look at skinning
    http://download.oracle.com/docs/cd/E15523_01/apirefs.1111/e15862/toc.htm
    search for af:calendar
    Skinning is explained in teh Web Developer Guide on
    http://download.oracle.com/docs/cd/E15523_01/web.1111/b31973/toc.htm
    Frank

  • Scroll bar only scrolls the top ~300 pixels

    The latest update of Nightly is unusable. The scroll bar only changes the top 300 pixels or so of the page. Then the links do not work in the bottom portion, and you can't see the entire page.
    Troubleshooting info:
    "application": {
    "name": "Firefox",
    "version": "36.0a1",
    "userAgent": "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:36.0) Gecko/20100101 Firefox/36.0",
    "supportURL": "https://support.mozilla.org/1/firefox/36.0a1/WINNT/en-US/",
    "numTotalWindows": 2,
    "numRemoteWindows": 0
    "crashes": {
    "submitted": [],
    "pending": 0
    "modifiedPreferences": {
    "browser.cache.disk.capacity": 358400,
    "browser.cache.disk.smart_size.first_run": false,
    "browser.cache.frecency_experiment": 1,
    "browser.places.smartBookmarksVersion": 7,
    "browser.sessionstore.upgradeBackup.latestBuildID": "20141022030202",
    "browser.startup.homepage_override.mstone": "36.0a1",
    "browser.startup.homepage_override.buildID": "20141022030202",
    "dom.mozApps.used": true,
    "extensions.lastAppVersion": "36.0a1",
    "media.gmp-gmpopenh264.lastUpdate": 1414067969,
    "media.gmp-gmpopenh264.version": "1.1",
    "media.gmp-manager.lastCheck": 1414067968,
    "network.cookie.prefsMigrated": true,
    "places.history.expiration.transient_current_max_pages": 104858,
    "plugin.disable_full_page_plugin_for_types": "application/pdf",
    "privacy.sanitize.migrateFx3Prefs": true
    "lockedPreferences": {},
    "graphics": {
    "numTotalWindows": 2,
    "numAcceleratedWindows": 0,
    "windowLayerManagerType": "Basic",
    "windowLayerManagerRemote": true,
    "numAcceleratedWindowsMessage": [
    "blockedGfxCard"
    "adapterDescription": "RDPDD Chained DD",
    "adapterVendorID": "0x0000",
    "adapterDeviceID": "0x0000",
    "adapterSubsysID": "00000000",
    "adapterRAM": "Unknown",
    "adapterDrivers": "RDPDD",
    "driverVersion": "",
    "driverDate": "",
    "adapterDescription2": "",
    "adapterVendorID2": "",
    "adapterDeviceID2": "",
    "adapterSubsysID2": "",
    "adapterRAM2": "",
    "adapterDrivers2": "",
    "driverVersion2": "",
    "driverDate2": "",
    "isGPU2Active": false,
    "direct2DEnabled": false,
    "directWriteEnabled": false,
    "directWriteVersion": "6.1.7601.17563",
    "direct2DEnabledMessage": [
    "blockedGfxCard"
    "webglRendererMessage": [
    "blockedGfxCard"
    "info": {
    "AzureCanvasBackend": "skia",
    "AzureSkiaAccelerated": 0,
    "AzureFallbackCanvasBackend": "cairo",
    "AzureContentBackend": "cairo"
    "javaScript": {
    "incrementalGCEnabled": true
    "accessibility": {
    "isActive": false,
    "forceDisabled": 0
    "libraryVersions": {
    "NSPR": {
    "minVersion": "4.10.7",
    "version": "4.10.7"
    "NSS": {
    "minVersion": "3.17.2 Basic ECC",
    "version": "3.17.2 Basic ECC"
    "NSSUTIL": {
    "minVersion": "3.17.2",
    "version": "3.17.2"
    "NSSSSL": {
    "minVersion": "3.17.2 Basic ECC",
    "version": "3.17.2 Basic ECC"
    "NSSSMIME": {
    "minVersion": "3.17.2 Basic ECC",
    "version": "3.17.2 Basic ECC"
    "userJS": {
    "exists": false
    "extensions": [
    "name": "McAfee Security Scan Plus",
    "version": "1.0",
    "isActive": false,
    "id": "{e4f94d1e-2f53-401e-8885-681602c0ddd8}"
    "experiments": []
    }

    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem.
    *Switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance
    *Do NOT click the Reset button on the Safe Mode start window
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • How to enable the "top activities" from the performance in OEM12C?

    We installed the 12C OEM. But the "top activities" and other options are not enabled from performance pane. I tried to set the parameter control_management_pack_access = "DIAGNOSTIC+TUNING" . Does not work. As was told that should be due to the databases we are running is 11.2.0.2 standard edition. We have the license for the tuning package. Does anybody knows how to enable the option on standard edition database?
    Thanks!

    Unfortunately, we are using SE and need to use OEM to monitor on the database performance activities.

  • How to replace the top of my laptop due to it being broken on

    MY SCREEN BROKEN AND THE TOUCH SCREEN SO THE TOP NEEDS REPLACEING WHICH I HAVE GOT ONE JUST NEED TO KNOW HOW TO REPLACE IT

    Here is your Service Manual:
    Manual
    It is all in there. See page 55 in particular.
    If this is "the Answer" please click "Accept as Solution" to help others find it. 

  • How to find the top ten reports consuming the high response times in st03n?

    HI Basis Gurus,
    Please could anybody tell me "How can one find the top ten high response time consuming reports in st03n transaction or in is there any other way to find out this.Please help me its urgent....
    Advance thanks....

    hi Meghadoot,
    below is an example for your request.
    ST03N
    Expert mode
    Server name - Day- double clicdk Today
    In analysis view - Ranking lists-double click Top Response time
    Regards

  • !!!How to remove the top 'Window' menu in Applet!!! PLEASE

    How do I remove the top 'Window' menu? SDI (single document interface)? or something? How to I enable SDI in 9i? Can't find this answer anywhere.
    I managed to remove the rest of the default menu items at the top, but I DON'T WANT THAT 'WINDOW' ITEM STAYING THERE.
    Pheeew. Please. Getting annoyed... :)

    Edit your base html files and add the USESDI=yes parameter to the serverargs parameters.
    See the Forms demos (downloadable from OTN) for an example of this.

Maybe you are looking for

  • Ipod error message...help plz...

    k when i hook my ipod to my comp it says "itunes has detected an ipod that appears to be corrupted you may need to restore this ipod before it can be used with itunes"...and ive tried restoreing it...and it still says that someone know a way to help

  • Timezone problem in XML from data template

    The xml returned from one of my data templates seems to be randomly applying timezones of +00:00 or +01:00 to the dates. This is causing a problem in the PDF output from the report where the timezone is processed and some of the dates are showing as

  • Expanding your Power mac G5

    Hi all, sorry for my English, I want to install a 2nd hard disk but I don't khnow which model. I think to by a Seagate. Currently I have a Seagate 160 Gb model 7200/7 with cache 8 Mb, can I put a model 7200/10 with cache 16Mb? Help me

  • Update woes in Oracle 8.1.6.3.0

    I'm trying to update one column in table A with a new value that lives in table B. Both tables share the same primary keys but table B has considerably less rows (about 1000 rows) than the million rows that exist in Table A. I tried this: UPDATE TABL

  • Installation Of ECC error in step create temp licence:

    We are in process of installation of ECC 6.0 on our server with OS: RHEL5 and DB:MaxDB We are getting an error in step Create Temp Licence. The error reads as follow. INFO 2008-02-21 04:56:12 Execute step createTempLicense of component |NW_Onehost|in