Controlling Cursor/Scroll Bar

Hi All,
I have a long interactive report which is stretched to many pages, now when I click on any of the lines in any page it gives me more data below that line as in hierarchy. I have the problem when I click on any such line which is not displayed in the first page, cursor is again set to the first page(after the report is displayed as the report is rewritten) and I have to scroll down to find my line.
Can anyone have any idea how can I set the report in such a way that I need not scroll down to find my line. I have tried with "Set Cursor line sy-lilli". Any other ideas & how?
Thank You All in advance.
Cheers....

Please see this example. It's not perfect, but you get the idea.   You must create the gui-status and assign function code "LINE".
report zrich_0002 no standard  page heading
                 line-count 10
                 line-size  80..
data: begin of imara occurs 0,
      check type c,
      matnr type mara-matnr,
      end of imara.
data: position type i.
data: page type i.
start-of-selection.
  set pf-status 'LINE_NUMBER'.
  select * into corresponding fields of
             table imara from mara up to 200 rows.
  perform write_list.
at user-command.
  case sy-ucomm.
    when 'LINE'.
      scroll list to page page.
      set cursor line position.
  endcase.
at line-selection.
  position = sy-lilli.
  describe list line sy-lilli page page.
  read table imara with key matnr = imara-matnr.
  if sy-subrc  = 0.
    if imara-check = space.
      imara-check = 'X'.
    else.
      imara-check = space.
    endif.
    modify imara index sy-tabix.
  endif.
  perform write_list.
  set user-command 'LINE'.
*       FORM write_list                                               *
form write_list.
  sy-lsind = sy-lsind - 1.
  loop at imara.
    format hotspot on.
    write:/ imara-matnr.
    if imara-check = 'X'.
      write:/ 'this material has now been expanded'.
    endif.
    hide: imara-check, imara-matnr.
    format hotspot off.
  endloop.
endform.
Regards,
Rich Heilman

Similar Messages

  • When and How to get the Text.ScrollPos value of a String control when scroll bar position changed

    Hi, 
    I'm working on a feature triggered by scroll bar position of a string control changed.
    But I could not find a good way to catch the scroll bar position changed event, 
    the scroll bar is controlled manually by mouse down → mouse move → mouse up, I want the get the Text.ScrollPos value when user mouse up, and compare with the maximum value.
    But the problem is,  mouse up on the scroll bar could not trigger String: Mouse up event!
    So I have to get the Text.ScrollPos continuously in the background in Timeout event, but I think it’s not efficient.
    Do you have any better idea on when to get the correct destination value of Text.ScrollPos?
    I plan to store the value of Text.ScrollPos in the bottom(maximum value) in a shift register, then compare the current Text.ScrollPos value with the max one.
    If it comes close to the bottom(90%~100% of the maximum value), then the close to bottom LED will turn on.
    Attachments:
    scroll bar pos changed.vi ‏15 KB

    Hello Cecilia,
    I don't think there is any build-in event for this.
    One solution would be to create your own user event at the initialisation of you main and launch a thread which is going to be pulling the value of your scrollbar position:
    Then you can build your main as if they were a scrollbar move event.
    And dont forget to close the thread and destroy the event at the end.
    Hope it helps.
    Attachments:
    Scrollbar event.PNG ‏10 KB

  • Image control synchronizing scroll bars

    Hello, I have a LabVIEW program using Vision that I want to use multiple Image controls in a VI.  I would like to be able to synchronize the movements of the scroll bars.  If a user scrolls left in one window, I want the other window(s) to also scroll left the same amount.  Is this possible?  I know it can be done with 2D picture controls but I would like to do this with a Image control (not external).  It would also be helpful to zoom synchronously.
    Thank you.
    Solved!
    Go to Solution.

    -I think we can enable/disable the scrollbars through property nodes. Let's see if anyone else has idea on programmatically moving scrollbars for image control.
    -For zoom you can use zoom property node of selected image control and write the same to other image controls.
    Thanks
    uday,
    Please Mark the solution as accepted if your problem is solved and help author by clicking on kudoes
    Certified LabVIEW Associate Developer (CLAD) Using LV13

  • Reportviewer Control vertical scroll bars

    Hi,
     I am using report viewer control to display reportins in a web application. For some reason I am not able to get the vertical scroll bars to show up. As a result the lower portion of the report is getting hidden. This was working in VS 2005 but it breaks in VS 2008. I tried some combinations of Size to Report Content, Asynch Rendering etc., but have not found any combination that works. Can anybody please help?
    Thank you

    I can't repro this. If the report doesn't fit the control height, ReportViewer shows vertical scrollbars. In my case, ReportViewer is configured as follows:
    Code Snippet
    <div style="padding-top:10px">
    <rsweb:ReportViewer ID="reportViewer" runat="server" Visible="True"
    Width="100%" Height="100%"
    ondrillthrough="reportViewer_Drillthrough" BorderStyle="Inset"
    BorderColor="Silver" BorderWidth="1pt"
    ExportContentDisposition="AlwaysInline" AsyncRendering="True">
    </rsweb:ReportViewer>
    </div>

  • Can the picture control appear scroll bar(further, automatically appear is what i want most) ?

    i use the picture control to draw linr or text in it,but when the line or text's position exceed the border,i must use mouse to stretch the picture control's border to see the line or text all,my question is :did the picture control can appeart scrollbar automatically ,or .can stretch or extend border automatilly ?
    Attachments:
    how_to_auto_scroll_for_picture_control.vi ‏26 KB

    Dear pyi,
    i tried to put scrollbar, it seems this is not possible.
    But other solution is that i can make picture control larger than the line co-ordinates. I am attaching the same vi with few modifications.
    Hope it helps. Your feedbacks are welcome.
    Best Regards,
    Nirmal
    Attachments:
    how_to_auto_scroll_for_picture_control.vi ‏30 KB

  • 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 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.

  • The scroll bar for Firefox cannot be controlled by the mouse, the only way I can scroll is with the arrow keys, help!!

    I have a brand new Dell Alienware laptop running Windows 7 and I just installed the latest Firefox browser. My problem is that the scroll bar for the browser does not work when using the mouse... the mouse cannot control the scroll bar either by clicking the up or down arrow or by dragging the bar with the mouse. The only way for me to scroll using Firefox is to use the arrow keys on my keyboard.

    Alternatives to Reset Security Questions and Rescue Mail
         1. Apple ID- All about Apple ID security questions.
         2. Rescue email address and how to reset Apple ID security questions
         3. Start here to find your country, and how you can contact Apple:
             Apple ID- Contacting Apple for help with Apple ID account security.
         4. Fill out and submit this form. Select the topic, Account Security.
         5.  Call Apple Support in your country and ask to speak to Account Security.
              Customer Service: Contacting Apple for support.
    How to Manage your Apple ID: Manage My Apple ID

  • Scroll bar in Content Viewer

    Hello everyone,
    I have place three different height images into a frame and applied scroll bar using Content viewer. I am calling each image through a button.
    My question is:
    Can we control the scroll bar height limiation as per the image's height. Right now its taking the largest image's height as a reference, when i click and check the small height image, i see lot of white space in it.
    Thank you very much.
    Regards,
    Shiva

    What do you mean you added a scroll bar? Do you mean a scrolling frame?
    If so, no, you cannot adjust the size of that dynamically. That said, I still don't totally get what you're doing.
    You can't click to move content in a scrolling frame, only an MSO.
    Bob

  • WD ABAP scroll bars and buttons don't appear

    If I test a transaction and the control or scroll bars don't appear when I test the service via SICF, how can I modifiy it to ensure the controls appear in SAPGUI versus webgui?
    Thanks
    Mikie

    >
    mbrogan wrote:
    > If I test a transaction and the control or scroll bars don't appear when I test the service via SICF, how can I modifiy it to ensure the controls appear in SAPGUI versus webgui?
    >
    > Thanks
    > Mikie
    What? I'm really confused by your question. Is it even about Web Dynpro ABAP?  You are talking about SAPGUI vs. Webgui. What does that have to do with Web Dynpro ABAP?

  • "Scroll Bar" appears when moving cursor - Satellite L305D-S5904

    I just bought a Satellite L305D-S5904 for my mother.
    It came with Windows Vista Home Premium.
    I noticed that a tiny scroll bar appears at the cursor sometimes.
    It makes navigation quite a pain.
    Can you turn this feature off?
    To clarify, when using the touchpad, moving the cursor, sometimes a tiny "scrollbar" appears at the point of the cursor's "arrow."
    This is unbelievably aggrevating!
    I've never seen such a thing before.
    Thanks for the help!

    > I've never seen such a thing before.
    Maybe because you didnt work with such hi-tech touchpad??? ;) lol
    This is a touchpad feature which can be disabled in touchpad properties.
    Check you control panel-> mouse
    There should be something about touchpad settings.
    There you have to disable the Virtual scrolling.

  • 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;

  • All web pages appear with a blinking cursor like in a "word document". i can't scroll down or up using the buttons of my key board. i have to pull down the scroll bar. something in settings has changed. how to correct it??

    all web pages appear with a blinking cursor like in a "word document". i can't scroll down or up using the buttons of my key board. i have to pull down the scroll bar. something in settings has changed. how to correct it??
    == This happened ==
    Just once or twice
    == 2 days ago.

    See also this article about caret browsing: http://kb.mozillazine.org/Scrolling_with_arrow_keys_no_longer_works
    In Firefox 3.6 and later versions you can disable the F7 shortcut that toggles caret browsing by setting the pref accessibility.browsewithcaret_shortcut.enabled to false.
    To open the ''about:config'' page, type '''about:config''' in the location (address) bar and press the Enter key, just like you type the url of a website to open a website.
    If you see a warning then you can confirm that you want to access that page.

  • 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

  • Problems with Text Wrap

    Hello, I'm new and getting more and more frustrated trying to wrap text around a couple of images in InDesign. I saved my picture file as, Save for Web & Devices in Photoshop, and in the text wrap options I clicked "wrap around object shape" and unde

  • Speed: Array lookup vs field lookup

    I have particles in my particle simulator referred to by array lookups - would it be faster to 'chain' the particles by including a 'next' field in each particle instance that links to the next particle in the chain, and refer to that field when movi

  • Solution for album art issues

    I spent some time with the issue downloading album art. First, the application seems to be quite specific with artist/album text. I went through my library with the mini store turned on and compared the album titles to my albums with the titles in th

  • Elgato Eye TV for DTT

    I am thinking about buying the eye tv for dtt for my imac g5. There doesn't seem to be a lot of information about exactly what channels you can watch and if you need to plug into a freeview box to receive channels - will it be the same as the other e

  • Extracting information from web pages

    I have chosen a really difficult topic for my dissertation at uni and need some urgent advice as I am running out of time. I am trying to develop a program to find the cheapest hotels available in the Edinburgh area. My program will take user input (