Returning to the original scrolling position in a view - InfoPath Dev
in

InfoPath Dev

Returning to the original scrolling position in a view

Last post 08-25-2010 06:17 AM by FrankC. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 08-23-2010 06:56 AM

    • FrankC
    • Not Ranked
    • Joined on 08-23-2010
    • Posts 2

    Returning to the original scrolling position in a view

    In Infopath, when switching views the user is, by default, always placed at the top of the view.

    Is there a way to switch from the 3rd page of view A to view B, and then back again, ending up in view A exactly where you started, on page 3? 

    I am using InfoPath 2007 and my form is NOT browser enabled.

    If this can only be done programatically, I would appreciate some examples in JavaScript.

    Any help on this subject would be greatly appreciated.  Thanks!

    Filed under:
  • 08-24-2010 12:05 AM In reply to

    Re: Returning to the original scrolling position in a view

    Hi FrankC,

    You'll want to use SetContext method - requires code. Search for that in the InfoPath 2003 SDK. Go to InfoPath Resources on right side of forum to find a link to download the 2003 SDK.

    Patrick Halstead
    Project Manager at Qdabra
  • 08-25-2010 06:17 AM In reply to

    • FrankC
    • Not Ranked
    • Joined on 08-23-2010
    • Posts 2

    Re: Returning to the original scrolling position in a view

     

    Patrick:

    Thanks for sending me in the right direction. 

     I have downloaded the 2003 SDK and searched on "SetContext" and got no hits.  I then searched on "Set Context" and got a number of hits, of which I have reviewed most.  Sorry to say, what I need to do is not yet clear. Could you provide a more detailed hint regarding what it is I should be looking for regarding "SetContext".  Sorry to be so dense.

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