Multi-View Form: Ensuring Cursor At Top of Every View Upon Switching Views - InfoPath Dev
in

InfoPath Dev

Multi-View Form: Ensuring Cursor At Top of Every View Upon Switching Views

Last post 04-20-2011 10:55 PM by cbrown00. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 03-21-2011 09:07 PM

    Multi-View Form: Ensuring Cursor At Top of Every View Upon Switching Views

    I have a multi-view form created with IP 2007, saved down to IP 2003 format.   The views use scroll control.  On some of the views, when user switches to the view, the view opens in the middle of the view, or even at the bottom of the view.

    Is there a way to make sure that cursor always starts at top of a view when user switches views?  I want all views to open with cursor at top of view.

  • 04-20-2011 03:34 AM In reply to

    • Skarn
    • Top 50 Contributor
      Male
    • Joined on 04-20-2008
    • Australia
    • Posts 198

    Re: Multi-View Form: Ensuring Cursor At Top of Every View Upon Switching Views

     Not sure if this is the cause, but when the first control on a view (like a button or textbox - and maybe even a scrolling region) on a page is part way down the view, Infopath scrolls to make it at the 'top' of the window.

    Try putting a button, shrunk right down to a few pixels at the top left of every view, outside of the scrolling region.

    When the view switches the button will get the focus and prevent Infopath scrolling down.

     

  • 04-20-2011 10:55 PM In reply to

    Re: Multi-View Form: Ensuring Cursor At Top of Every View Upon Switching Views

    That looks like it did the trick!  Thanks...much better.

Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.