Controlling Scroll Bars

Hi,
I have a text box in the FP which is continuously appended at the bottom with text coming in from a serial port.
In the VI Properties I enabled the scroll bars.
Question is:
I would like to have the scroll bar default to be positioned at the bottom of the text box so the user can always see the newest text as it comes in. Currently, the scroll bar is hovering somewhere in the middle of the text volume while trying to 'catch up' with the incoming text.
Thanks
Don J.
DaniDin

Use a property node and set the scroll position
http://digital.ni.com/public.nsf/allkb/E824BDE35298537B86256E450065AB66
Beginner? Try LabVIEW Basics
Sharing bits of code? Try Snippets or LAVA Code Capture Tool
Have you tried Quick Drop?, Visit QD Community.

Similar Messages

  • Table controls (scroll bars) with LSMW

    Hi,
    I have to fill a table control from a lsmw project, my problem appears when we need to scroll down table control because there are no more free lines.
    My question is if it's possible to manage table control scroll bars to scroll down when all rows will be taken, using lsmw.
    Any idea about it would be very appreciated
    Thanks in advance

    Hi Javier,
    I suggest you is that you should loop at the internal table from which you are filling the data into the table control or use a counter for number of rows comming up at a time in the table control. And then put code for ADD+ button. Do this till the end of file or table.
    I hope this helps.
    Also you can use TCode for the LSMW to upload one record at a time. U can try this also.
    Regards,
    Usha.

  • How to read data in  Page Control "Scroll Bar" in Component Buffer ?

    Folks,
    Hello. My Component has 2 pages: "JournalLine" and "JournalTotal". In the page "JournalLine", I insert page control "Scroll Bar" and then insert a record "JournalLine2" into the "Scroll Bar". Thus, the Component Structure is as follows:
    Scroll - Level0
    JournalLine
    JournalTotal
    Scroll - Level1 Primary Record JournalLine2
    The fields in "JournalLine" are Unit, ID, Date.
    The fields in "JournalTotal" are Unit, ID, Date, TotalDebit, TotalCredit.
    The fields in "JournalLine2" are Account, Amount.
    Since the record "JournalLine2" is inside of the page "JournalLine" and inside of page control "Scroll Bar", I click on "+" push button and add as many lines as I need and type in data into each line.
    My purpose is to add up all numbers in "Amount" field of "JournalLine2" and assign the total amount to "TotalDebit" or "TotalCredit" in "JournalTotal" page. My PeopleCode is as follows:
    Local RowSet &level0, &level1, &level2;
    Local Row     &total;
    Local Field     &field;
    &level0 = GetLevel0( );     /* get level0 Rowset */
    &total = &level0(2);     /* get row JournalTotal because it's on the 2nd position in level0 */
    &level1 = &level0.GetRow(1).GetRowSet(Scroll.JournalLine);     /* get level 1 RowSet for record JournalLine */
    &level2 = &level1.GetRow(2).GetRowSet(Scroll.JournalLine2); /* Assume this line gets all records in JournalLine2 */
    For &I = 1 to &level2.ActiveRowCount
         &field.Value = &field.Value + &level2.GetRow(2).JournalLine2.Amount.Value;
    End-for;
    &total.GetRecord(Record.JournalTotal).GetField(Field.TotalDebit).Value = &field.Value;
    &total.GetRecord(Record.JournalTotal).GetField(Field.TotalCredit).Value = &field.Value;
    I place the above PeopleCode in Record Field "Amount" FieldChange Event. Because all records and fields are in the component buffer, in Browser, after type in data into each line in the record "JournalLine2" in the page "JournalLine", then click on page tab "JournalTotal", the total amount should appear in the field "TotalDebit" or "TotalCredit". But nothing is in the field "TotalDebit" or "TotalCredit".
    The above PeopleCode is not working out. I place the above code in component record field "Amount" FieldChange Event as well and not working either. My questions are:
    First, Is it correct for the above PeopleCode to read all records in "JournalLine2" Scroll Bar in page "JournalLine" ?
    Second, Do we need to use some methods like ScrollSelect( ) to read those data in Scroll Bar ?
    Third, Do we need to use "ActiveRecordCount" instead of "ActiveRowCount" ?
    Thanks in advance !

    Folks,
    This question has been solved by myself. Thanks.

  • Issue in table control scroll bar

    Hi experts,
    In Table control I used the following code,
    Refresh control 'TCDATA' from screen '200'.
    If i use this code i cant able to  scroll the data when the table control having multiple lines.
    Can any one suggest me?. what i need to do for this..
    Edited by: sai.bala on Sep 17, 2010 12:22 PM

    Hi ,
    try this...
    Refresh control 'TCDATA' from screen '200'.
    "write this statement below refresh table control
    * Describe lines of internal table to extend the table control Vertical
    * scroll bar
      DESCRIBE TABLE <tablename> LINES TCDATA-lines.
    prabhudas

  • Table Control Scroll Bar inactive

    Hi All,
    I am facing a strange problem. I have placed a table control on my screen and have added the columns. Rest of the functionality is also fine. However, even when the number of rows in the table exceeds its height, the Vertical Scroll bar is inactive and I cannot scroll down to the hidden line items. The horizontal scroll bar is working perfectly.The color of the Vertical Scroll bar is also Dark grey (as in inactive.)
    I fail to understand what could be the reason for this? Helpful answers will be suitably rewarded
    Regards,
    Madhur

    Hi Madur,
    Try this code :
    (assume that the name of your table control is T1)
    In the screen logic you will have:
                    Loop with control T1.
                       module get_Looplines.
                    Endloop.
                        Module get_looplines.
                          Looplines = sy-loopc.
                        Endmodule.
    In the PBO of the screen you will have a module that loads the itab and determines the total number of lines read.
                   Module load_itab.
                    .      (select database table and
    append to itab)
                    describe table itab lines linecount.
                   Endmodule.
    We now have all the values to construct a scroll module.
    MODULE SCROLL INPUT.
    CASE SAVE_OK_CODE.
    WHEN 'P--'.
       T1-TOP_LINE = 1.
    WHEN 'P-'.
       T1-TOP_LINE = T1-TOP_LINE - LOOPLINES.
         IF T1-TOP_LINE < 1.
            T1-TOP_LINE = 1.
         ENDIF.
    WHEN 'P+'.
       T1-TOP_LINE = T1-TOP_LINE + LOOPLINES.
         IF T1-TOP_LINE > LINECOUNT.
            T1-TOP_LINE = LINECOUNT - LOOPLINES + 1.
         ENDIF.
    WHEN 'P++'.
       T1-TOP_LINE = LINECOUNT - LOOPLINES + 1.
    ENDCASE.
    ENDMODULE.                 " SCROLL  INPUT
        WHEN 'P--'.
          CLEAR SY-UCOMM.
          CTR1-TOP_LINE = 1.
        WHEN 'P-'.
          CLEAR SY-UCOMM.
          CTR1-TOP_LINE = CTR1-TOP_LINE - LINECOUNT1.
          IF CTR1-TOP_LINE < 1.
            CTR1-TOP_LINE = 1.
          ENDIF.
        WHEN 'P+'.
          DESCRIBE TABLE ITAB1 LINES N1.
          CTR1-TOP_LINE = CTR1-TOP_LINE + LINECOUNT1.
          IF CTR1-TOP_LINE > N1.
            CTR1-TOP_LINE = N1.
          ENDIF.
          CLEAR SY-UCOMM.
        WHEN 'P++'.
          DESCRIBE TABLE ITAB1 LINES N1.
          CLEAR SY-UCOMM.
          CTR1-TOP_LINE = N1.
    Cheers
    Sunny
    Rewrd points, if helpful

  • Table control scroll bar issue

    how to set the scroll bar for table control for the transaction code va42 for billing plan tab.
    i have added few custom fileds for the table control, when i m re-arranging the columns for the table control, the scroll bar is fixed for one field( as standard) and the scroll bar starts from that place. how to fix the scroll bar or control the scroll bar and sets it position for the desired column.

    HI,
    Table control ahs a property called FIXED_COLS. You ave to pass the column number to this property.

  • Table control - scroll bar

    Hello,
    There is table control in my program and screen.
    This object with created table control wizard.
    This object on scroll bar(ver.-hor.)
    I want to not see scroll bar.(visible = false)
    Pleace help me.
    Thanks.

    Hello Melih
    I do not think that we can effect the scroll bars. If the size of the screen/dynpro is sufficient to display the entire table control then there should be no scroll bar. If the screen is smaller than the table control then the GUI automatically displays the scroll bars (which makes perfect sense).
    Regards
      Uwe

  • Clickable tabs that control Scroll Bar

    Ok, so here's something I really want to do but am not exactly sure how to pull it off.
    On my Portfolio site: http://www.joshkempdesigns.com
    I've got a scroll bar that allows a user to sift through my work. What I want, along the left site of the content area, are tabs that say "Home, About, Photography, etc..." and I want the user to be able to click one of these tabs and have the scroll bar "slide" the content to that desired area.
    I think this is possible, bt I must be trying things entirely wrong, because I want the user to be able to se the scroll bar at any time as well as quickly have the slider move to a section if they'd rather click a tab.
    Any suggestions?
    Josh

    From within Flash Catalyst, the answer is unfortunately no. However, you can add this functionality with Flash Builder. I built a demo in Flash Catalyst 1.0, so instead of a tab bar, I have 3 buttons that jump to different app icons in the list.
    The core of the code is two lines: setting the selectedIndex of the list (apps.selectedIndex = 3;). Note the list has an id of 'apps'. And setting  apps.ensureIndexIsVisible(3); That line will cause the list to jump to that index. That is all you need to get the base functionality working
    You might something a little visually appealing, so take a look at this post:
    http://graphics-geek.blogspot.com/2009/12/video-programmatic-scrolling-animation.html to add in some nice animation.
    Hope this helps,
    Chris

  • BDC Recording For J1IG with Table Control Scroll bar

    Dear Friends,
    I am doing BDC program for J1IG Transaction after done recording.
    As you knows that, In J1IG transaction max. 11 materials are shows in table control at a time and if more records are there, then we have to scroll down manually so after that, we can see the records.
    Now my BDC program runs upto 11 materials but when more than 11 materials, selection is coming on first material only and cursor not showing 12th material.
    So i think page down is not working for that issue.
    I have seen lots of search forum for that but not getting the proper answer.
    Please reply.
    Regards,
    Shivam.

    Dear Dinu,
    For better understanding please see the code.
    So you suggest what should i have to do?.
    LOOP AT jtab INTO wb.
         LOOP AT itab INTO wa WHERE mblnr EQ wb-mblnr.
           CLEAR : flag.
           AT NEW mblnr.
             flag = 'X'.
             CLEAR : cnt, var1, var2.
           ENDAT.
           cnt = cnt + 1.
           IF flag EQ 'X'.
             PERFORM bdc_dynpro      USING 'SAPMJ1IG' '0100'.
             PERFORM bdc_field       USING 'BDC_OKCODE'
                                       '=ECAP'.
             PERFORM bdc_dynpro      USING 'SAPMJ1IG' '0200'.
             PERFORM bdc_field       USING 'BDC_CURSOR'
                                       'T_HEADER-EXDAT'.
             PERFORM bdc_field       USING 'BDC_OKCODE'
                                       '/00'.
             PERFORM bdc_field       USING 'J_1IEXCHDR-EXGRP'
                                       wa-exgrp.
             PERFORM bdc_field       USING 'T_HEADER-MBLNR'
                                       wa-mblnr.
             PERFORM bdc_field       USING 'T_HEADER-MJAHR'
                                       wa-mjahr.
             PERFORM bdc_field       USING 'T_HEADER-EXNUM'
                                       wa-exnum.
             PERFORM bdc_field       USING 'T_HEADER-EXDAT'
                                       wa-exdat.
             PERFORM bdc_dynpro      USING 'SAPMJ1IG' '0200'.
             PERFORM bdc_field       USING 'BDC_CURSOR'
                                       'J_1IEXCHDR-EXGRP'.
             PERFORM bdc_field       USING 'BDC_OKCODE'
                                       '=DETL'.
           ENDIF.
           CONCATENATE 'T_ITEM-ZEILE(' cnt ')'  INTO var1.
           CONCATENATE 'T_ITEM-SELECTION(' cnt ')'  INTO var2.
           PERFORM bdc_dynpro      USING 'SAPMJ1IG' '0300'.
           PERFORM bdc_field       USING 'BDC_CURSOR'
                                     var1.           "'T_ITEM-ZEILE(01)'.
           PERFORM bdc_field       USING 'BDC_OKCODE'
                                     '=MORE'.
           PERFORM bdc_field       USING var2 "'T_ITEM-SELECTION(01)'
                                     'X'. "record-selection_01_019.
           PERFORM bdc_dynpro      USING 'SAPMJ1IG' '0400'.
           PERFORM bdc_field       USING 'BDC_CURSOR'
                                    'T_LOCAL_EXC-EXADDRATE1(01)'.
           PERFORM bdc_field       USING 'BDC_OKCODE'
                                     '/00'.
           PERFORM bdc_field       USING 'T_LOCAL_EXC-MENGE(01)'
                                     wa-menge.
           PERFORM bdc_field       USING 'T_LOCAL_EXC-EXBAS(01)'
                                     wa-exbas.
           PERFORM bdc_field       USING 'T_LOCAL_EXC-EXBED(01)'
                                     wa-exbed.
           PERFORM bdc_field       USING 'T_LOCAL_EXC-BEDRATE(01)'
                                     wa-bedrate.
           PERFORM bdc_field       USING 'T_LOCAL_EXC-EXAED(01)'
                                     wa-exaed.
           PERFORM bdc_field       USING 'T_LOCAL_EXC-AEDRATE(01)'
                                     wa-aedrate.
           PERFORM bdc_field       USING 'T_LOCAL_EXC-ECS(01)'
                                     wa-ecs.
           PERFORM bdc_field       USING 'T_LOCAL_EXC-ECSRATE(01)'
                                     wa-ecsrate.
           PERFORM bdc_field       USING 'T_LOCAL_EXC-EXADDTAX1(01)'
                                     wa-exaddtax1.
           PERFORM bdc_field       USING 'T_LOCAL_EXC-EXADDRATE1(01)'
                                     wa-exaddrate1.
           PERFORM bdc_dynpro      USING 'SAPMJ1IG' '0400'.
           PERFORM bdc_field       USING 'BDC_CURSOR'
                                     'T_LOCAL_EXC-RG23ASER(01)'.
           PERFORM bdc_field       USING 'BDC_OKCODE'
                                     '=BACK'.
         ENDLOOP.
         PERFORM bdc_dynpro      USING 'SAPMJ1IG' '0300'.
         PERFORM bdc_field       USING 'BDC_CURSOR'
                                   'T_ITEM-DOCNO(01)'.
         PERFORM bdc_field       USING 'BDC_OKCODE'
                                   '=SAVE'.
         CLEAR opt.
         opt-dismode = 'A'.
         opt-updmode = 'S'.
    *    opt-defsize = '12'.
    *    CLEAR: it_messages[], it_messages.
         CALL TRANSACTION 'J1IG' USING it_bdcdata OPTIONS FROM opt
                                       MESSAGES INTO it_messages.
         REFRESH it_bdcdata.
       ENDLOOP.
       CHECK it_messages[] IS NOT INITIAL.
       LOOP AT it_messages.
         PERFORM fill_messages USING it_messages-msgtyp
                                     it_messages-msgid
                                     it_messages-msgnr
                                     it_messages-msgv1
                                     it_messages-msgv2
                                     it_messages-msgv3
                                     it_messages-msgv4.
       ENDLOOP.
       PERFORM display_messages TABLES tmsg.

  • Missing scroll bars on a pop up window in safari

    I'm not even sure if Im in the right section for this question but I kept getting and error message under the safari topic. I have been trying to have my fantasy football draft, but whenever I open the window to enter the live draft there are no scroll bars. I can only see half of the page and its frustrating because I cant really see what Im doing. My draft is held through yahoo sports, I thought it just might be a problem with yahoo, but any other web browser I used on a different computer works just fine. Im pretty computer illiterate also.

    HI,
    I used on a different computer works just fine
    That computer may be a different model and operating system?
    Try this. From the Safari Menu Bar click Safari/Empty Cache. Relaunch Safari. If the behavior persists, from the Safari Menu Bar (top of your screen) click Safari / Preferences then select the Security tab.
    Click the Show Cookies button. Delete all cookies related to; fantasy football / Yahoo.
    Now click the Autofill tab in the preferences window. Click the Edit button next to: Other forms. Remove all.
    Relaunch Safari.
    If that didn't make a difference, click your Apple Menu (top left corner of your screen) then scroll down and click Software Updates. Make sure your system software is up to date.
    Also, if you have any Safari third party add-ons that control scroll bars, that could be part of the problem.
    Carolyn

  • Scroll bar for tabcontrol

    Iam using Tabcontrol in my project.On tabcontrol Iam having lot of controls and indicators.The problem is I cannot see all the controls and indicators on a single screen i.e I should move the tabcontrol up and down.I would like to know wether can I attach scroll bar to the tabcontrol so that I can see all the controls and indicators by scrolling.

    One fix is to but your controls on a subpanel and then on the tab control, this would work but my real suggestion is to simplify the views. If you have so many controls on each tab, see if you can regroup them so you have more tabs and fewer controls. I have found that users prefer few controls and indicators visible at a time for easy-to-use GUIs. A much more complicated solution you could implement your own tab control scroll bar and programatically move controls on the scroll (labview slide control not a real window scroll) event. Still it is best to keep designs "as simple as possible without being to simple". Also I have never seen a scrollbar on a tabcontrol and such nonstandard GUI experiences are probably not suggested.
    -Paul
    Paul Falkenstein
    Coleman Technologies Inc.
    CLA, CPI, AIA-Vision
    Labview 4.0- 2013, RT, Vision, FPGA

  • Intermittent issue with missing scroll bars

    Occasionally I will open a website and the content will flow below the bottom edge but no scroll bar is available to scroll the content. Page up and down buttons as well as arrow keys will scroll the page. When this happens a page reload will not rectify the issue, nor will opening in a new tab and going to the same URL. However, a close of the browser and then going back to the target URL normally resolves the issue and the scroll bars are visible and functional.
    FF version 3.6.12 on Windows 7 Ultimate. No specific sites, but experienced this on cnn.com, time.com and morningstar.com over the last couple of days.
    These are three of my most visited sites and I had not experienced this problem prior to the last update to my current version. I also had a Java update on the same day I did the FF update, so I can not with any certainty pinpoint FF as the culprit.

    HI,
    I used on a different computer works just fine
    That computer may be a different model and operating system?
    Try this. From the Safari Menu Bar click Safari/Empty Cache. Relaunch Safari. If the behavior persists, from the Safari Menu Bar (top of your screen) click Safari / Preferences then select the Security tab.
    Click the Show Cookies button. Delete all cookies related to; fantasy football / Yahoo.
    Now click the Autofill tab in the preferences window. Click the Edit button next to: Other forms. Remove all.
    Relaunch Safari.
    If that didn't make a difference, click your Apple Menu (top left corner of your screen) then scroll down and click Software Updates. Make sure your system software is up to date.
    Also, if you have any Safari third party add-ons that control scroll bars, that could be part of the problem.
    Carolyn

  • How to activate the Vertival Scroll Bar to Table control

    Hi All,
    I Have created a Module pool table control(Wizard) with Input control,where user can enter the values in the screen.
    In my screen 15 lines are visible,once i enter all 15 rows,vertical scroll bar is active,but rest of all lines are in deactivate mode.
    My requirement is:Once i enter all the visible lines,the remaining lines should be in activ mode(In put control).
    I appreciate your response.
    Best Regards,
    Seshadri

    DATA : BEGIN OF IT_MARA OCCURS 1,
           MATNR LIKE MARA-MATNR,
           ERSDA LIKE MARA-ERSDA,
           ERNAM LIKE MARA-ERNAM,
           MTART LIKE MARA-MTART,
           MBRSH LIKE MARA-MBRSH,
           V_FLAG TYPE C,
           END OF IT_MARA.
    DATA :  WA_MARA LIKE it_MARA .
    CONTROLS TABLE TYPE TABLEVIEW USING SCREEN 100.
    MODULE POPULATE_100 INPUT.
      CASE SY-UCOMM.
        WHEN 'DISP'.
          SELECT MATNR
                 ERSDA
                 ERNAM
                 MTART
                 MBRSH FROM MARA INTO WA_MARA .
            APPEND WA_MARA TO IT_MARA.
          ENDSELECT.
          DESCRIBE TABLE IT_MARA LINES V_TEXT.
          TABLE-LINES = V_TEXT.
          CLEAR IT_MARA.
    Regards..
    Balaji  ( assign if this helps u ..)

  • How do i control 2 text boxes with 1 scroll bar? (CS4)

    I want to control 2 Dynamic Text boxs with the 1 scroll bar component? I want them to scroll simultaneously with the user only needing to use the one component. Thank you in advance for your help

    The textfields should have the same number of lines.  You can have the scrollbar (sb) assigned to one textfield (t1) and then have an event listener/handler for the scrollbar adjust the other textfield's (t2) scrollV property to match the first one's scrollV property:
    import fl.events.ScrollEvent;
    sb.addEventListener(ScrollEvent.SCROLL, adjustTs);
    function adjustTs(evt:ScrollEvent):void {
        t2.scrollV = t1.scrollV;

  • When I'm in a Firefox browser window the screen info rolls up and down and doesn't respond to scroll bar control.

    This problem occurs intermmitently, but becomes more prevalent the longer I stay in the window and resumes when I move into another website. Occasionally, I seem to be able to stop the rolling by right-clicking the mouse while hovering the pointer arrow over the scroll bar. ost of the time I can not control the window roll, even with the scroll bar. If I exit Firefox and return, the problem ceases and then resues as before.

    Must be a problem with the graphics drivers or operating system.. Any other system malfunctioning reported ?
    If yes, kindly contact your system admin and format your OS...
    Must be a problem with compatibility, so please do the the above
    Happy browsing

Maybe you are looking for

  • Banding on the 24 incher

    Hi, When I make a grayscale gradient in Photoshop both radial and linear show severe banding, with that i mean no smooth transition from white to gray, my display is set on millions of coulors, how can i fix this? 24" iMac - 7600GT - 250 GB - 2 Gig R

  • MacBook Pro - Broken Superdrive

    Hi all, The superdrive on my MacBook Pro (15", Early 2008) is broken, discs don't spin properly, I think because I always pick it up with one hand at the corner and I've bent the whole thing. Silly me. Anyway, seeing as I'm out of warrantly now, I wa

  • Downloading and installing Mediasource off the internet

    how do you download and install creative mediasource? my cd-dri've is broken and cant use the installation cds that came with my zen vision m 30gb player. any help would be appreciated. thanks.

  • Values seen in logic debugger but not updating in SQL server after running

    Hi, I am trying to run a simple logic file, where I am reversing the sign of a few EXP accounts. I have written a similar code *when account *is account1 *when %value% *is <>0 *rec(factor=-1) *endwhen *endwhen Now when I run the logic debugger I am a

  • Pricing schema in Quotation Maitenance

    Dear Experts, I have follwing query. I had called  RFQ from three different vendors. The vendors have been assigned a domestic pricing procedure in the vendor master. When I was maintining the quotations in the system, it was not taking the pricing c